@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | try { |
| 67 | 67 | $providers[] = $this->serverContainer->query($class); |
| 68 | 68 | } catch (QueryException $ex) { |
| 69 | - $this->logger->error('Could not load contacts menu action provider ' . $class, |
|
| 69 | + $this->logger->error('Could not load contacts menu action provider '.$class, |
|
| 70 | 70 | [ |
| 71 | 71 | 'app' => 'core', |
| 72 | 72 | 'exception' => $ex, |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * @return string[] |
| 94 | 94 | */ |
| 95 | 95 | private function getAppProviderClasses(IUser $user): array { |
| 96 | - return array_reduce($this->appManager->getEnabledAppsForUser($user), function ($all, $appId) { |
|
| 96 | + return array_reduce($this->appManager->getEnabledAppsForUser($user), function($all, $appId) { |
|
| 97 | 97 | $info = $this->appManager->getAppInfo($appId); |
| 98 | 98 | |
| 99 | 99 | if (!isset($info['contactsmenu'])) { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | return $all; |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | - $providers = array_reduce($info['contactsmenu'], function ($all, $provider) { |
|
| 104 | + $providers = array_reduce($info['contactsmenu'], function($all, $provider) { |
|
| 105 | 105 | return array_merge($all, [$provider]); |
| 106 | 106 | }, []); |
| 107 | 107 | |