mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
add bool data request
This commit is contained in:
parent
db0908bad8
commit
cd50ceb819
|
|
@ -107,6 +107,8 @@ abstract class RequestAbstract implements MessageInterface
|
||||||
return (string) $this->data[$key];
|
return (string) $this->data[$key];
|
||||||
case 'float':
|
case 'float':
|
||||||
return (float) $this->data[$key];
|
return (float) $this->data[$key];
|
||||||
|
case 'bool':
|
||||||
|
return (bool) $this->data[$key];
|
||||||
default:
|
default:
|
||||||
return $this->data[$key];
|
return $this->data[$key];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user