Skip to content

Commit

Permalink
Fix class calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Auditor committed Mar 22, 2018
1 parent 8d9a207 commit 5c17a81
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/BigBlueButton/Member/Meeting.php
Original file line number Diff line number Diff line change
Expand Up @@ -1128,10 +1128,7 @@ private function getInfo()
if ($key === 'attendees') {
foreach ($value as $attendee) {
$this->{$key}[$attendee->userID] = new Attendee(
(string) $attendee->userID,
(string) $attendee->fullName,
(string) $attendee->role,
isset($attendee->customData) ? (array) $attendee->customData : []
(array) $attendee
);
}
} elseif ($key === 'recordings') {
Expand Down Expand Up @@ -1196,10 +1193,10 @@ public function getRecordings()
}
foreach ($recordings as $recording) {
$this->recordings[$recording->recordingID] = new Recording(
$recording->recordingID,
(array) $recording,
$this->client
(array) $recording
);
$this->recordings[$recording->recordingID]
->setClient($this->client);
}
return $this->recordings;
}
Expand Down

0 comments on commit 5c17a81

Please sign in to comment.