mirror of https://github.com/sualko/cloud_bbb
Merge pull request #310 from arawa/fix/309_group_displayname_is_null
fix: #309 group displayname might be nullpull/278/head^2
commit
d023ffa331
|
@ -34,8 +34,8 @@ class Restriction extends Entity implements JsonSerializable {
|
||||||
$this->addType('allowRecording', 'boolean');
|
$this->addType('allowRecording', 'boolean');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGroupName(string $groupName) {
|
public function setGroupName(?string $groupName) {
|
||||||
$this->groupName = $groupName;
|
$this->groupName = $groupName ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function jsonSerialize(): array {
|
public function jsonSerialize(): array {
|
||||||
|
|
Loading…
Reference in New Issue