@@ -163,7 +163,7 @@ |
||
| 163 | 163 | */ |
| 164 | 164 | protected function setExceptionHandler(): self |
| 165 | 165 | { |
| 166 | - set_exception_handler(function ($e) { |
|
| 166 | + set_exception_handler(function($e) { |
|
| 167 | 167 | $this->logger->emergency('uncaught exception: '.$e->getMessage(), [ |
| 168 | 168 | 'category' => static::class, |
| 169 | 169 | 'exception' => $e, |
@@ -239,8 +239,8 @@ discard block |
||
| 239 | 239 | $share = $node->getFilesystem()->findRawNode($node->getReference()); |
| 240 | 240 | } catch (\Exception $e) { |
| 241 | 241 | $this->logger->error('could not find share node ['.$node->getReference().'] for reference ['.$node->getId().'], dead reference?', [ |
| 242 | - 'category' => static::class, |
|
| 243 | - 'exception' => $e, |
|
| 242 | + 'category' => static::class, |
|
| 243 | + 'exception' => $e, |
|
| 244 | 244 | ]); |
| 245 | 245 | |
| 246 | 246 | return self::PRIVILEGE_DENY; |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | |
| 249 | 249 | if ($share['deleted'] instanceof UTCDateTime || true !== $share['shared']) { |
| 250 | 250 | $this->logger->error('share node ['.$share['_id'].'] has been deleted, dead reference?', [ |
| 251 | - 'category' => static::class, |
|
| 251 | + 'category' => static::class, |
|
| 252 | 252 | ]); |
| 253 | 253 | |
| 254 | 254 | return self::PRIVILEGE_DENY; |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | $this->logger->info('found first time username ['.$identity->getIdentifier().'], auto-create user', [ |
| 87 | - 'category' => static::class, |
|
| 87 | + 'category' => static::class, |
|
| 88 | 88 | ]); |
| 89 | 89 | |
| 90 | 90 | $attributes = []; |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | /** |
| 78 | 78 | * {@inheritdoc} |
| 79 | 79 | */ |
| 80 | - public function preServerIdentity(Identity $identity, ?User &$user): void |
|
| 80 | + public function preServerIdentity(Identity $identity, ?User & $user): void |
|
| 81 | 81 | { |
| 82 | 82 | if (null !== $user) { |
| 83 | 83 | return; |