@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Spiechu\SymfonyCommonsBundle\EventListener; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Spiechu\SymfonyCommonsBundle\EventListener; |
| 6 | 6 | |
@@ -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 | namespace Spiechu\SymfonyCommonsBundle\EventListener; |
| 6 | 6 | |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * |
| 48 | 48 | * @return null|ResponseSchemaValidator |
| 49 | 49 | */ |
| 50 | - protected function getResponseSchemaValidator(?callable $controller): ?ResponseSchemaValidator |
|
| 50 | + protected function getResponseSchemaValidator(? callable $controller) : ?ResponseSchemaValidator |
|
| 51 | 51 | { |
| 52 | 52 | return $this->getMethodAnnotationFromController($controller, ResponseSchemaValidator::class); |
| 53 | 53 | } |
@@ -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 | namespace Spiechu\SymfonyCommonsBundle\Service; |
| 6 | 6 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * |
| 41 | 41 | * @return ValidationViolation |
| 42 | 42 | */ |
| 43 | - public static function create(string $message, ?string $property = null): self |
|
| 43 | + public static function create(string $message, ?string $property = null) : self |
|
| 44 | 44 | { |
| 45 | 45 | return new static($message, $property); |
| 46 | 46 | } |
@@ -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 | namespace Spiechu\SymfonyCommonsBundle\Service; |
| 6 | 6 | |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | /** |
| 15 | 15 | * @param null|string $apiVersion |
| 16 | 16 | */ |
| 17 | - public function setApiVersion(?string $apiVersion): void |
|
| 17 | + public function setApiVersion(?string $apiVersion) : void |
|
| 18 | 18 | { |
| 19 | 19 | $this->apiVersion = $apiVersion; |
| 20 | 20 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Spiechu\SymfonyCommonsBundle\Service; |
| 6 | 6 | |
@@ -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 | namespace Spiechu\SymfonyCommonsBundle\Utils; |
| 6 | 6 | |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | * |
| 12 | 12 | * @return array |
| 13 | 13 | */ |
| 14 | - public static function flatArrayRecursive(?array $array): array |
|
| 14 | + public static function flatArrayRecursive(? array $array) : array |
|
| 15 | 15 | { |
| 16 | 16 | if (empty($array)) { |
| 17 | 17 | return []; |