@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | |
57 | 57 | $container = $this->getContainer(); |
58 | 58 | |
59 | - $container->registerService('defaultMailAddress', function () { |
|
59 | + $container->registerService('defaultMailAddress', function() { |
|
60 | 60 | return Util::getDefaultEmailAddress('lostpassword-noreply'); |
61 | 61 | }); |
62 | 62 | |
@@ -65,19 +65,19 @@ discard block |
||
65 | 65 | $eventDispatcher = $server->query(IEventDispatcher::class); |
66 | 66 | |
67 | 67 | $notificationManager = $server->getNotificationManager(); |
68 | - $notificationManager->registerNotifier(function () use ($server) { |
|
68 | + $notificationManager->registerNotifier(function() use ($server) { |
|
69 | 69 | return new RemoveLinkSharesNotifier( |
70 | 70 | $server->getL10NFactory() |
71 | 71 | ); |
72 | - }, function () { |
|
72 | + }, function() { |
|
73 | 73 | return [ |
74 | 74 | 'id' => 'core', |
75 | 75 | 'name' => 'core', |
76 | 76 | ]; |
77 | 77 | }); |
78 | - $notificationManager->registerNotifier(function () use ($server) { |
|
78 | + $notificationManager->registerNotifier(function() use ($server) { |
|
79 | 79 | return $server->query(AuthenticationNotifier::class); |
80 | - }, function () { |
|
80 | + }, function() { |
|
81 | 81 | return [ |
82 | 82 | 'id' => 'auth', |
83 | 83 | 'name' => 'authentication notifier', |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | }); |
86 | 86 | |
87 | 87 | $eventDispatcher->addListener(IDBConnection::CHECK_MISSING_INDEXES_EVENT, |
88 | - function (GenericEvent $event) use ($container) { |
|
88 | + function(GenericEvent $event) use ($container) { |
|
89 | 89 | /** @var MissingIndexInformation $subject */ |
90 | 90 | $subject = $event->getSubject(); |
91 | 91 |