mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48: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];
|
||||
case 'float':
|
||||
return (float) $this->data[$key];
|
||||
case 'bool':
|
||||
return (bool) $this->data[$key];
|
||||
default:
|
||||
return $this->data[$key];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user