mirror of https://github.com/sualko/cloud_bbb
fix: restriction property types
parent
46ac4d1102
commit
a24f8a1f96
|
@ -27,9 +27,9 @@ class Restriction extends Entity implements JsonSerializable {
|
||||||
protected $allowRecording = true;
|
protected $allowRecording = true;
|
||||||
|
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
$this->addType('max_rooms', 'integer');
|
$this->addType('maxRooms', 'integer');
|
||||||
$this->addType('max_participants', 'integer');
|
$this->addType('maxParticipants', 'integer');
|
||||||
$this->addType('allow_recording', 'boolean');
|
$this->addType('allowRecording', 'boolean');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function jsonSerialize(): array {
|
public function jsonSerialize(): array {
|
||||||
|
|
Loading…
Reference in New Issue