@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Utils/JSON.php |
| 5 | 5 | * |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | $options ??= 0; |
| 44 | 44 | $depth ??= 512; |
| 45 | 45 | |
| 46 | - $output = json_encode($input, JSON_THROW_ON_ERROR | $options, $depth); |
|
| 46 | + $output = json_encode($input, JSON_THROW_ON_ERROR|$options, $depth); |
|
| 47 | 47 | |
| 48 | 48 | return (string)$output; |
| 49 | 49 | } |
@@ -70,6 +70,6 @@ discard block |
||
| 70 | 70 | $depth ??= 512; |
| 71 | 71 | $options ??= 0; |
| 72 | 72 | |
| 73 | - return json_decode($json, $assoc, $depth, JSON_THROW_ON_ERROR | $options); |
|
| 73 | + return json_decode($json, $assoc, $depth, JSON_THROW_ON_ERROR|$options); |
|
| 74 | 74 | } |
| 75 | 75 | } |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/EventListener/UserEntityEventListener.php |
| 5 | 5 | * |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | // Password hash callback |
| 97 | - $callback = fn (string $plainPassword): string => $this->userPasswordEncoder |
|
| 97 | + $callback = fn(string $plainPassword): string => $this->userPasswordEncoder |
|
| 98 | 98 | ->encodePassword(new SecurityUser($user, []), $plainPassword); |
| 99 | 99 | |
| 100 | 100 | // Set new password and encode it with user encoder |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Rest/ControllerCollection.php |
| 5 | 5 | * |
@@ -50,6 +50,6 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | public function filter(string $className): Closure |
| 52 | 52 | { |
| 53 | - return static fn (ControllerInterface $restController): bool => $restController instanceof $className; |
|
| 53 | + return static fn(ControllerInterface $restController): bool => $restController instanceof $className; |
|
| 54 | 54 | } |
| 55 | 55 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Controller/Profile/RolesController.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Controller/Profile/GroupsController.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Controller/Profile/IndexController.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Controller/HealthzController.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Controller/VersionController.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Controller/IndexController.php |
| 5 | 5 | * |