@@ -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; |