@@ -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 []; |
@@ -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 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Spiechu\SymfonyCommonsBundle\ApiFeature; |
| 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\Service; |
| 6 | 6 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | * |
| 36 | 36 | * @throws \InvalidArgumentException When feature with given name already exists |
| 37 | 37 | */ |
| 38 | - public function addFeature(string $name, ?string $since, ?string $until): void |
|
| 38 | + public function addFeature(string $name, ?string $since, ?string $until) : void |
|
| 39 | 39 | { |
| 40 | 40 | $this->assertVersionCompatibleString($since); |
| 41 | 41 | $this->assertVersionCompatibleString($until); |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | * |
| 130 | 130 | * @throws \InvalidArgumentException When $string is not version compatible |
| 131 | 131 | */ |
| 132 | - protected function assertVersionCompatibleString(?string $string): void |
|
| 132 | + protected function assertVersionCompatibleString(?string $string) : void |
|
| 133 | 133 | { |
| 134 | 134 | if (null === $string || is_numeric($string)) { |
| 135 | 135 | return; |
@@ -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\Service\SchemaValidator; |
| 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\Service\SchemaValidator; |
| 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 @@ |
||
| 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\Service\SchemaValidator; |
| 6 | 6 | |