diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-23 15:40:42 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-30 12:38:49 +0300 |
commit | 8a5bcd17894250bbf99e763e656ed9e708b10e62 (patch) | |
tree | 2f236d8b8a3901c857da3423787917de3482421e /lib/Service | |
parent | b22912e7bc63152c5354db558321d0e3547f7a7c (diff) |
Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/ParticipantService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php index 976ae892f..2f2a57e90 100644 --- a/lib/Service/ParticipantService.php +++ b/lib/Service/ParticipantService.php @@ -397,7 +397,7 @@ class ParticipantService { public function getParticipantUserIds(Room $room, \DateTime $maxLastJoined = null): array { $attendees = $this->attendeeMapper->getActorsByType($room->getId(), 'users', $maxLastJoined); - return array_map(function(Attendee $attendee) { + return array_map(static function (Attendee $attendee) { return $attendee->getActorId(); }, $attendees); } |