Skip to content

Commit

Permalink
Initialize class members
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Auditor committed Mar 21, 2018
1 parent bd4b328 commit 47fda50
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/BigBlueButton/Member/Meeting.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ public function __construct($attributes, Client $client)
'allowStartStopRecording' => true,
];

$this->attendees = [];
$this->metadata = [];
$this->recordings = [];
$this->slides = [];

// Take naming inconsistencies into account.
if (!empty($attributes['name'])) {
$attributes['meetingName'] = $attributes['name'];
Expand Down

0 comments on commit 47fda50

Please sign in to comment.