diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-12-18 12:13:36 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-12-18 12:13:36 +0300 |
commit | c40cccefebe7caa13cab3ebbe10022e3ee0ca04c (patch) | |
tree | da58df395affae932e3a9a4f0287b7e6068f654d /lib/Controller | |
parent | 46452d7b2ad90a99ba3fb9faf1783608b88eefa1 (diff) |
Adjust files to make cs fixer happy
Seems PHP CS fixer has some new rules or operations.
This fixes the code to match the new rules by running composer run
cs:fix.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/RoomController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 0180fbf48..6371f131e 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -1698,7 +1698,7 @@ class RoomController extends AEnvironmentAwareController { } elseif ($userId !== null) { $targetParticipant = $this->room->getParticipant($userId); } else { - $targetParticipant = $this->room->getParticipantBySession($sessionId); + $targetParticipant = $this->room->getParticipantBySession($sessionId); } } catch (ParticipantNotFoundException $e) { return new DataResponse([], Http::STATUS_NOT_FOUND); |