@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/EventSubscriber/ExceptionSubscriber.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/EventSubscriber/UserEntitySubscriber.php |
| 5 | 5 | * |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | $encoder = $this->getEncoder($user); |
| 119 | 119 | |
| 120 | 120 | // Password hash callback |
| 121 | - $callback = function ($plainPassword) use ($encoder, $user) { |
|
| 121 | + $callback = function($plainPassword) use ($encoder, $user) { |
|
| 122 | 122 | return $encoder->encodePassword($plainPassword, $user->getSalt()); |
| 123 | 123 | }; |
| 124 | 124 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/EventSubscriber/JWTCreatedSubscriber.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/EventSubscriber/BodySubscriber.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/EventSubscriber/AuthenticationFailureSubscriber.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/EventSubscriber/AuthenticationSuccessSubscriber.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/Rest/DTO/UserGroup.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/DTO/RestDto.php |
| 5 | 5 | * |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | 'has' . \ucfirst($property), |
| 66 | 66 | ]; |
| 67 | 67 | |
| 68 | - $filter = function (string $method) use ($dto): bool { |
|
| 68 | + $filter = function(string $method) use ($dto): bool { |
|
| 69 | 69 | return \method_exists($dto, $method); |
| 70 | 70 | }; |
| 71 | 71 | |
@@ -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/DTO/User.php |
| 5 | 5 | * |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | * |
| 253 | 253 | * @return string |
| 254 | 254 | */ |
| 255 | - $iterator = function (UserGroupEntity $group) { |
|
| 255 | + $iterator = function(UserGroupEntity $group) { |
|
| 256 | 256 | return $group->getId(); |
| 257 | 257 | }; |
| 258 | 258 | |