diff options
Diffstat (limited to 'lib/Share/Listener.php')
-rw-r--r-- | lib/Share/Listener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Share/Listener.php b/lib/Share/Listener.php index 13575fc46..30f324145 100644 --- a/lib/Share/Listener.php +++ b/lib/Share/Listener.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling <coding@schilljs.com> @@ -30,7 +31,6 @@ use OCP\Share\IShare; use Symfony\Component\EventDispatcher\GenericEvent; class Listener { - public static function register(IEventDispatcher $dispatcher): void { $dispatcher->addListener('OCP\Share::preShare', [self::class, 'listenPreShare'], 1000); $dispatcher->addListener(VerifyMountPointEvent::class, [self::class, 'listenVerifyMountPointEvent'], 1000); |