@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | // It seems that AccountManager use deprecated dispatcher, let's use a deprecated listener |
172 | 172 | $dispatcher = OC::$server->getEventDispatcher(); |
173 | 173 | $dispatcher->addListener( |
174 | - 'OC\AccountManager::userUpdated', function (GenericEvent $event) { |
|
174 | + 'OC\AccountManager::userUpdated', function(GenericEvent $event) { |
|
175 | 175 | /** @var IUser $user */ |
176 | 176 | $user = $event->getSubject(); |
177 | 177 | /** @var DeprecatedListener $deprecatedListener */ |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | public function registerFilesNavigation() { |
260 | 260 | $appManager = FilesApp::getNavigationManager(); |
261 | 261 | $appManager->add( |
262 | - function () { |
|
262 | + function() { |
|
263 | 263 | $l = OC::$server->getL10N('circles'); |
264 | 264 | |
265 | 265 | return [ |
@@ -251,7 +251,7 @@ |
||
251 | 251 | foreach ($circleUniqueIds as $uniqueId) { |
252 | 252 | $result = array_merge( |
253 | 253 | array_map( |
254 | - function (ShareWrapper $wrapper): int { |
|
254 | + function(ShareWrapper $wrapper): int { |
|
255 | 255 | return $wrapper->getFileSource(); |
256 | 256 | }, $shareWrapperService->getSharesToCircle( |
257 | 257 | $uniqueId |