@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | * we can not inject it. Thus the static call. |
132 | 132 | */ |
133 | 133 | \OC::$server->getLogger()->logException($e, [ |
134 | - 'message' => 'Could not load lazy crash reporter: ' . $e->getMessage(), |
|
134 | + 'message' => 'Could not load lazy crash reporter: '.$e->getMessage(), |
|
135 | 135 | 'level' => ILogger::FATAL, |
136 | 136 | ]); |
137 | 137 | } |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | * we can not inject it. Thus the static call. |
148 | 148 | */ |
149 | 149 | \OC::$server->getLogger()->logException($e, [ |
150 | - 'message' => 'Could not register lazy crash reporter: ' . $e->getMessage(), |
|
150 | + 'message' => 'Could not register lazy crash reporter: '.$e->getMessage(), |
|
151 | 151 | 'level' => ILogger::FATAL, |
152 | 152 | ]); |
153 | 153 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | $this->logger = $logger; |
64 | 64 | } |
65 | 65 | |
66 | - public function for(string $appId): IRegistrationContext { |
|
66 | + public function for (string $appId): IRegistrationContext { |
|
67 | 67 | return new class($appId, $this) implements IRegistrationContext { |
68 | 68 | /** @var string */ |
69 | 69 | private $appId; |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | } catch (Throwable $e) { |
201 | 201 | $appId = $registration['appId']; |
202 | 202 | $this->logger->logException($e, [ |
203 | - 'message' => "Error during capability registration of $appId: " . $e->getMessage(), |
|
203 | + 'message' => "Error during capability registration of $appId: ".$e->getMessage(), |
|
204 | 204 | 'level' => ILogger::ERROR, |
205 | 205 | ]); |
206 | 206 | } |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | } catch (Throwable $e) { |
218 | 218 | $appId = $registration['appId']; |
219 | 219 | $this->logger->logException($e, [ |
220 | - 'message' => "Error during crash reporter registration of $appId: " . $e->getMessage(), |
|
220 | + 'message' => "Error during crash reporter registration of $appId: ".$e->getMessage(), |
|
221 | 221 | 'level' => ILogger::ERROR, |
222 | 222 | ]); |
223 | 223 | } |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | } catch (Throwable $e) { |
243 | 243 | $appId = $registration['appId']; |
244 | 244 | $this->logger->logException($e, [ |
245 | - 'message' => "Error during event listener registration of $appId: " . $e->getMessage(), |
|
245 | + 'message' => "Error during event listener registration of $appId: ".$e->getMessage(), |
|
246 | 246 | 'level' => ILogger::ERROR, |
247 | 247 | ]); |
248 | 248 | } |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | } catch (Throwable $e) { |
269 | 269 | $appId = $registration['appId']; |
270 | 270 | $this->logger->logException($e, [ |
271 | - 'message' => "Error during service registration of $appId: " . $e->getMessage(), |
|
271 | + 'message' => "Error during service registration of $appId: ".$e->getMessage(), |
|
272 | 272 | 'level' => ILogger::ERROR, |
273 | 273 | ]); |
274 | 274 | } |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | } catch (Throwable $e) { |
286 | 286 | $appId = $registration['appId']; |
287 | 287 | $this->logger->logException($e, [ |
288 | - 'message' => "Error during service alias registration of $appId: " . $e->getMessage(), |
|
288 | + 'message' => "Error during service alias registration of $appId: ".$e->getMessage(), |
|
289 | 289 | 'level' => ILogger::ERROR, |
290 | 290 | ]); |
291 | 291 | } |
@@ -302,7 +302,7 @@ discard block |
||
302 | 302 | } catch (Throwable $e) { |
303 | 303 | $appId = $registration['appId']; |
304 | 304 | $this->logger->logException($e, [ |
305 | - 'message' => "Error during service alias registration of $appId: " . $e->getMessage(), |
|
305 | + 'message' => "Error during service alias registration of $appId: ".$e->getMessage(), |
|
306 | 306 | 'level' => ILogger::ERROR, |
307 | 307 | ]); |
308 | 308 | } |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | } catch (Throwable $e) { |
322 | 322 | $appId = $middleware['appId']; |
323 | 323 | $this->logger->logException($e, [ |
324 | - 'message' => "Error during capability registration of $appId: " . $e->getMessage(), |
|
324 | + 'message' => "Error during capability registration of $appId: ".$e->getMessage(), |
|
325 | 325 | 'level' => ILogger::ERROR, |
326 | 326 | ]); |
327 | 327 | } |