@@ -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\Utils; |
| 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\Event\ApiVersion; |
| 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\Annotation\Controller; |
| 6 | 6 | |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * |
| 17 | 17 | * @return null|object |
| 18 | 18 | */ |
| 19 | - protected function getClassAnnotationFromController(?callable $controller, string $annotationClass) |
|
| 19 | + protected function getClassAnnotationFromController(? callable $controller, string $annotationClass) |
|
| 20 | 20 | { |
| 21 | 21 | $objectToReflect = $this->getObjectToReflect($controller); |
| 22 | 22 | |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * |
| 35 | 35 | * @return null|object |
| 36 | 36 | */ |
| 37 | - protected function getMethodAnnotationFromController(?callable $controller, string $annotationClass) |
|
| 37 | + protected function getMethodAnnotationFromController(? callable $controller, string $annotationClass) |
|
| 38 | 38 | { |
| 39 | 39 | if (is_array($controller) |
| 40 | 40 | && isset($controller[1]) |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * |
| 53 | 53 | * @return null|object |
| 54 | 54 | */ |
| 55 | - protected function getObjectToReflect(?callable $controller) |
|
| 55 | + protected function getObjectToReflect(? callable $controller) |
|
| 56 | 56 | { |
| 57 | 57 | if (is_object($controller)) { |
| 58 | 58 | return $controller; |
@@ -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\Annotation\Controller; |
| 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 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * |
| 58 | 58 | * @return null|ApiVersion |
| 59 | 59 | */ |
| 60 | - protected function getApiVersionFromController(?callable $controller): ?ApiVersion |
|
| 60 | + protected function getApiVersionFromController(? callable $controller) : ?ApiVersion |
|
| 61 | 61 | { |
| 62 | 62 | return $this->getClassAnnotationFromController($controller, ApiVersion::class); |
| 63 | 63 | } |
@@ -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 | |
@@ -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 | } |