Browse Source

Use short class names

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/1049/head
Joas Schilling 7 years ago
committed by Daniel Calviño Sánchez
parent
commit
041f5248e6
  1. 12
      lib/PublicShareAuth/Listener.php

12
lib/PublicShareAuth/Listener.php

@ -83,11 +83,11 @@ class Listener {
* *
* This method should be called before a user joins a room. * This method should be called before a user joins a room.
* *
* @param \OCA\Spreed\Room $room
* @param Room $room
* @param string $userId * @param string $userId
* @throws \OverflowException * @throws \OverflowException
*/ */
public function preventExtraUsersFromJoining(\OCA\Spreed\Room $room, string $userId) {
public function preventExtraUsersFromJoining(Room $room, string $userId) {
if ($room->getObjectType() !== 'share:password') { if ($room->getObjectType() !== 'share:password') {
return; return;
} }
@ -111,10 +111,10 @@ class Listener {
* *
* This method should be called before a guest joins a room. * This method should be called before a guest joins a room.
* *
* @param \OCA\Spreed\Room $room
* @param Room $room
* @throws \OverflowException * @throws \OverflowException
*/ */
public function preventExtraGuestsFromJoining(\OCA\Spreed\Room $room) {
public function preventExtraGuestsFromJoining(Room $room) {
if ($room->getObjectType() !== 'share:password') { if ($room->getObjectType() !== 'share:password') {
return; return;
} }
@ -136,9 +136,9 @@ class Listener {
* reason (no matter if the user or guest removed herself, was removed or * reason (no matter if the user or guest removed herself, was removed or
* timed out). * timed out).
* *
* @param \OCA\Spreed\Room $room
* @param Room $room
*/ */
public function destroyRoomOnParticipantLeave(\OCA\Spreed\Room $room) {
public function destroyRoomOnParticipantLeave(Room $room) {
if ($room->getObjectType() !== 'share:password') { if ($room->getObjectType() !== 'share:password') {
return; return;
} }

Loading…
Cancel
Save