add bool data request

This commit is contained in:
Dennis Eichhorn 2021-06-23 23:59:34 +02:00
parent db0908bad8
commit cd50ceb819

View File

@ -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];
}