@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Validator/Constraints/Timezone.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/Validator/Constraints/Locale.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/Validator/Constraints/LocaleValidator.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/Validator/Constraints/Language.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/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/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 | * |