diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-19 16:36:53 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-30 12:38:08 +0300 |
commit | c19f07ca8014282c07f87b26e0da3cdb8344dc26 (patch) | |
tree | 7d0899421e05ce1edb186ec34394b0fde5c3a27e /lib/Manager.php | |
parent | a961a26ecc57337c3f89b3decd7899b00f4fda67 (diff) |
Fix function usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Manager.php')
-rw-r--r-- | lib/Manager.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/Manager.php b/lib/Manager.php index a92aff209..e5821ed69 100644 --- a/lib/Manager.php +++ b/lib/Manager.php @@ -282,15 +282,6 @@ class Manager { } /** - * @param string $participant - * @param bool $includeLastMessage - * @return Room[] - */ - public function getRoomsForParticipant(string $participant, bool $includeLastMessage = false): array { - return []; - } - - /** * @param string $userId * @param bool $includeLastMessage * @return Room[] @@ -335,18 +326,6 @@ class Manager { * Does *not* return public rooms for participants that have not been invited * * @param int $roomId - * @param string $participant - * @return Room - * @throws RoomNotFoundException - */ - public function getRoomForParticipant(int $roomId, ?string $participant): Room { - throw new RoomNotFoundException(); - } - - /** - * Does *not* return public rooms for participants that have not been invited - * - * @param int $roomId * @param string|null $userId * @return Room * @throws RoomNotFoundException @@ -399,20 +378,6 @@ class Manager { * so they can join. * * @param string $token - * @param string $participant - * @param bool $includeLastMessage - * @return Room - * @throws RoomNotFoundException - */ - public function getRoomForParticipantByToken(string $token, ?string $participant, bool $includeLastMessage = false): Room { - throw new RoomNotFoundException(); - } - - /** - * Also returns public rooms for participants that have not been invited, - * so they can join. - * - * @param string $token * @param string|null $userId * @param bool $includeLastMessage * @return Room |