From cd50ceb8195908c508edea781c02b900a7f4d247 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 23 Jun 2021 23:59:34 +0200 Subject: [PATCH] add bool data request --- Message/RequestAbstract.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Message/RequestAbstract.php b/Message/RequestAbstract.php index c76f7788e..a7f75bdeb 100644 --- a/Message/RequestAbstract.php +++ b/Message/RequestAbstract.php @@ -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]; }