diff --git a/src/BigBlueButton/Client.php b/src/BigBlueButton/Client.php index eb19a3d..c5aff34 100644 --- a/src/BigBlueButton/Client.php +++ b/src/BigBlueButton/Client.php @@ -161,7 +161,8 @@ private function xml2object($raw_response) // Fix data model. if (isset($array->attendees)) { $array->attendees = (array) $array->attendees; - if (!isset($array->attendees[0]) or $array->attendees[0] === "\n") { + if (!isset($array->attendees[0]) + || $array->attendees[0] === "\n") { $array->attendees = []; } } @@ -169,7 +170,8 @@ private function xml2object($raw_response) // Fix data model. if (isset($array->metadata)) { $array->metadata = (array) $array->metadata; - if (!isset($array->metadata[0]) or $array->metadata[0] === "\n") { + if (!isset($array->metadata[0]) + || $array->metadata[0] === "\n") { $array->metadata = []; } }