From a24f8a1f9635f274d80914cf472568f27fb4543a Mon Sep 17 00:00:00 2001 From: sualko Date: Wed, 2 Sep 2020 10:54:51 +0200 Subject: [PATCH] fix: restriction property types --- lib/Db/Restriction.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Db/Restriction.php b/lib/Db/Restriction.php index 9b6cbd5..f253d38 100644 --- a/lib/Db/Restriction.php +++ b/lib/Db/Restriction.php @@ -27,9 +27,9 @@ class Restriction extends Entity implements JsonSerializable { protected $allowRecording = true; public function __construct() { - $this->addType('max_rooms', 'integer'); - $this->addType('max_participants', 'integer'); - $this->addType('allow_recording', 'boolean'); + $this->addType('maxRooms', 'integer'); + $this->addType('maxParticipants', 'integer'); + $this->addType('allowRecording', 'boolean'); } public function jsonSerialize(): array {