@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | public function registerNotifier(\Closure $service, \Closure $info) { |
100 | 100 | $infoData = $info(); |
101 | 101 | $this->logger->logException(new \InvalidArgumentException( |
102 | - 'Notifier ' . $infoData['name'] . ' (id: ' . $infoData['id'] . ') is not considered because it is using the old way to register.' |
|
102 | + 'Notifier '.$infoData['name'].' (id: '.$infoData['id'].') is not considered because it is using the old way to register.' |
|
103 | 103 | )); |
104 | 104 | } |
105 | 105 | |
@@ -125,14 +125,14 @@ discard block |
||
125 | 125 | $app = \OC::$server->query($appClass); |
126 | 126 | } catch (QueryException $e) { |
127 | 127 | $this->logger->logException($e, [ |
128 | - 'message' => 'Failed to load notification app class: ' . $appClass, |
|
128 | + 'message' => 'Failed to load notification app class: '.$appClass, |
|
129 | 129 | 'app' => 'notifications', |
130 | 130 | ]); |
131 | 131 | continue; |
132 | 132 | } |
133 | 133 | |
134 | 134 | if (!($app instanceof IApp)) { |
135 | - $this->logger->error('Notification app class ' . $appClass . ' is not implementing ' . IApp::class, [ |
|
135 | + $this->logger->error('Notification app class '.$appClass.' is not implementing '.IApp::class, [ |
|
136 | 136 | 'app' => 'notifications', |
137 | 137 | ]); |
138 | 138 | continue; |
@@ -157,14 +157,14 @@ discard block |
||
157 | 157 | $notifier = \OC::$server->query($notifierService->getService()); |
158 | 158 | } catch (QueryException $e) { |
159 | 159 | $this->logger->logException($e, [ |
160 | - 'message' => 'Failed to load notification notifier class: ' . $notifierService->getService(), |
|
160 | + 'message' => 'Failed to load notification notifier class: '.$notifierService->getService(), |
|
161 | 161 | 'app' => 'notifications', |
162 | 162 | ]); |
163 | 163 | continue; |
164 | 164 | } |
165 | 165 | |
166 | 166 | if (!($notifier instanceof INotifier)) { |
167 | - $this->logger->error('Notification notifier class ' . $notifierService->getService() . ' is not implementing ' . INotifier::class, [ |
|
167 | + $this->logger->error('Notification notifier class '.$notifierService->getService().' is not implementing '.INotifier::class, [ |
|
168 | 168 | 'app' => 'notifications', |
169 | 169 | ]); |
170 | 170 | continue; |
@@ -185,14 +185,14 @@ discard block |
||
185 | 185 | $notifier = \OC::$server->query($notifierClass); |
186 | 186 | } catch (QueryException $e) { |
187 | 187 | $this->logger->logException($e, [ |
188 | - 'message' => 'Failed to load notification notifier class: ' . $notifierClass, |
|
188 | + 'message' => 'Failed to load notification notifier class: '.$notifierClass, |
|
189 | 189 | 'app' => 'notifications', |
190 | 190 | ]); |
191 | 191 | continue; |
192 | 192 | } |
193 | 193 | |
194 | 194 | if (!($notifier instanceof INotifier)) { |
195 | - $this->logger->error('Notification notifier class ' . $notifierClass . ' is not implementing ' . INotifier::class, [ |
|
195 | + $this->logger->error('Notification notifier class '.$notifierClass.' is not implementing '.INotifier::class, [ |
|
196 | 196 | 'app' => 'notifications', |
197 | 197 | ]); |
198 | 198 | continue; |
@@ -57,7 +57,7 @@ |
||
57 | 57 | IAppContainer $appContainer): void { |
58 | 58 | $manager->addCloudFederationProvider('file', |
59 | 59 | 'Federated Files Sharing', |
60 | - function () use ($appContainer): CloudFederationProviderFiles { |
|
60 | + function() use ($appContainer): CloudFederationProviderFiles { |
|
61 | 61 | return $appContainer->get(CloudFederationProviderFiles::class); |
62 | 62 | }); |
63 | 63 | } |
@@ -55,7 +55,7 @@ |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | public function boot(IBootContext $context): void { |
58 | - $context->injectFn(function (IConfig $config, |
|
58 | + $context->injectFn(function(IConfig $config, |
|
59 | 59 | IUserSession $userSession, |
60 | 60 | IAppManager $appManager, |
61 | 61 | IGroupManager $groupManager, |