Skip to content

Commit e642679

Browse files
sualkoFelixJacobi
andcommitted
add return types
Co-authored-by: Felix Jacobi <felix@jacobi-hamburg.net>
1 parent d5f0956 commit e642679

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Core/Meeting.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public function getAttendees()
383383
* Moderators of Meeting - Subset of Attendees
384384
* @return Attendee[]
385385
*/
386-
public function getModerators()
386+
public function getModerators(): array
387387
{
388388
$attendees = $this->getAttendees();
389389

@@ -398,7 +398,7 @@ public function getModerators()
398398
* Viewers of Meeting - Subset of Attendees
399399
* @return Attendee[]
400400
*/
401-
public function getViewers()
401+
public function getViewers(): array
402402
{
403403
$attendees = $this->getAttendees();
404404

tests/unit/Responses/GetMeetingInfoResponseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function testMeetingAttendeeContent()
8888
$this->assertEquals('a:focus{color:#0181eb}', $customData['customStyle']);
8989
}
9090

91-
public function testMeetingModerators()
91+
public function testMeetingModerators(): void
9292
{
9393
$moderators = $this->meetingInfo->getMeeting()->getModerators();
9494

@@ -103,7 +103,7 @@ public function testMeetingModerators()
103103
$this->assertEquals('MODERATOR', $secondModerator->getRole());
104104
}
105105

106-
public function testMeetingViewers()
106+
public function testMeetingViewers(): void
107107
{
108108
$viewers = $this->meetingInfo->getMeeting()->getViewers();
109109

0 commit comments

Comments
 (0)