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:
Diffstat (limited to 'lib/Chat/Changelog/Listener.php')
-rw-r--r--lib/Chat/Changelog/Listener.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Chat/Changelog/Listener.php b/lib/Chat/Changelog/Listener.php
index 8ce066b27..c89e9fda0 100644
--- a/lib/Chat/Changelog/Listener.php
+++ b/lib/Chat/Changelog/Listener.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
/**
* @copyright Copyright (c) 2019 Joas Schilling <coding@schilljs.com>
@@ -27,9 +28,8 @@ use OCA\Talk\Events\UserEvent;
use OCP\EventDispatcher\IEventDispatcher;
class Listener {
-
public static function register(IEventDispatcher $dispatcher): void {
- $dispatcher->addListener(RoomController::EVENT_BEFORE_ROOMS_GET, static function(UserEvent $event) {
+ $dispatcher->addListener(RoomController::EVENT_BEFORE_ROOMS_GET, static function (UserEvent $event) {
$userId = $event->getUserId();
/** @var Listener $listener */