@@ -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 */ |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | $eventDispatcher = $container->getEventDispatcher(); |
| 244 | 244 | $eventDispatcher->addListener( |
| 245 | 245 | 'OCA\Files::loadAdditionalScripts', |
| 246 | - function () { |
|
| 246 | + function() { |
|
| 247 | 247 | Util::addScript('circles', 'files/circles.files.app'); |
| 248 | 248 | Util::addScript('circles', 'files/circles.files.list'); |
| 249 | 249 | |
@@ -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 [ |
@@ -252,7 +252,7 @@ |
||
| 252 | 252 | try { |
| 253 | 253 | $circleService->getCircle($uniqueId); // checking current user have access to said circle |
| 254 | 254 | $files = array_map( |
| 255 | - function (ShareWrapper $wrapper): int { |
|
| 255 | + function(ShareWrapper $wrapper): int { |
|
| 256 | 256 | return $wrapper->getFileSource(); |
| 257 | 257 | }, $shareWrapperService->getSharesToCircle($uniqueId) |
| 258 | 258 | ); |