@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | protected function addShare(Collection $collection): bool |
272 | 272 | { |
273 | 273 | $that = $this; |
274 | - $collection->doRecursiveAction(function ($node) use ($that) { |
|
274 | + $collection->doRecursiveAction(function($node) use ($that) { |
|
275 | 275 | if ($node instanceof Collection) { |
276 | 276 | $that->addShare($node); |
277 | 277 | } else { |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | protected function deleteShare(Collection $collection): bool |
293 | 293 | { |
294 | 294 | $that = $this; |
295 | - $collection->doRecursiveAction(function ($node) use ($that) { |
|
295 | + $collection->doRecursiveAction(function($node) use ($that) { |
|
296 | 296 | if ($node instanceof Collection) { |
297 | 297 | $that->deleteShare($node); |
298 | 298 | } else { |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | */ |
117 | 117 | protected function setExceptionHandler(): self |
118 | 118 | { |
119 | - set_exception_handler(function ($e) { |
|
119 | + set_exception_handler(function($e) { |
|
120 | 120 | $this->logger->emergency('uncaught exception: '.$e->getMessage(), [ |
121 | 121 | 'category' => get_class($this), |
122 | 122 | 'exception' => $e, |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | */ |
43 | 43 | protected function setErrorHandler(): self |
44 | 44 | { |
45 | - set_error_handler(function ($severity, $message, $file, $line) { |
|
45 | + set_error_handler(function($severity, $message, $file, $line) { |
|
46 | 46 | $log = $message.' in '.$file.':'.$line; |
47 | 47 | |
48 | 48 | switch ($severity) { |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | if ($this->auth->requireOne()) { |
86 | 86 | if (!($this->auth->getIdentity()->getAdapter() instanceof AuthNone)) { |
87 | - $this->auth->getIdentity()->getAttributeMap()->addMapper('binary', function ($value) { |
|
87 | + $this->auth->getIdentity()->getAttributeMap()->addMapper('binary', function($value) { |
|
88 | 88 | return new Binary($value, Binary::TYPE_GENERIC); |
89 | 89 | }); |
90 | 90 | |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | */ |
132 | 132 | protected function setExceptionHandler(): self |
133 | 133 | { |
134 | - set_exception_handler(function ($e) { |
|
134 | + set_exception_handler(function($e) { |
|
135 | 135 | $this->logger->emergency('uncaught exception: '.$e->getMessage(), [ |
136 | 136 | 'category' => get_class($this), |
137 | 137 | 'exception' => $e, |