Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-02-12 18:07:59 +0300
committerJoas Schilling <coding@schilljs.com>2019-02-12 18:07:59 +0300
commitfb90a742312eb92898c56451757ebb3a5d916c88 (patch)
treefad13d0a9e8530e1a791a26d0086e1ee926d8e73 /lib/GuestManager.php
parentaf59422720af0d69a29221d13b1b9b32063db603 (diff)
Make all classes strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/GuestManager.php')
-rw-r--r--lib/GuestManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/GuestManager.php b/lib/GuestManager.php
index 8ae111464..bcbcada13 100644
--- a/lib/GuestManager.php
+++ b/lib/GuestManager.php
@@ -81,7 +81,7 @@ class GuestManager {
* @param string $displayName
* @throws \Doctrine\DBAL\DBALException
*/
- public function updateName(Room $room, string $sessionId, string $displayName) {
+ public function updateName(Room $room, string $sessionId, string $displayName): void {
$sessionHash = sha1($sessionId);
$dispatchEvent = true;
@@ -157,7 +157,7 @@ class GuestManager {
return $map;
}
- public function inviteByEmail(Room $room, string $email) {
+ public function inviteByEmail(Room $room, string $email): void {
$this->dispatcher->dispatch(self::class . '::preInviteByEmail', new GenericEvent($room, [
'email' => $email,
]));