@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Reflection; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Reflection\Instanciator; |
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 | namespace Innmind\Reflection; |
5 | 5 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | ) { |
31 | 31 | /** @var Map<string, mixed> $default */ |
32 | 32 | $default = Map::of('string', 'mixed'); |
33 | - $properties ??= $default; |
|
33 | + $properties ?? = $default; |
|
34 | 34 | |
35 | 35 | assertMap('string', 'mixed', $properties, 2); |
36 | 36 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Reflection\InjectionStrategy; |
5 | 5 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | $strategy = $this->strategies->reduce( |
61 | 61 | null, |
62 | - static function(?InjectionStrategy $target, InjectionStrategy $strategy) use ($object, $property, $value): ?InjectionStrategy { |
|
62 | + static function(?InjectionStrategy $target, InjectionStrategy $strategy) use ($object, $property, $value) : ?InjectionStrategy { |
|
63 | 63 | return $target ?? ($strategy->supports($object, $property, $value) ? $strategy : null); |
64 | 64 | }, |
65 | 65 | ); |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Reflection\ExtractionStrategy; |
5 | 5 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | $strategy = $this->strategies->reduce( |
61 | 61 | null, |
62 | - static function(?ExtractionStrategy $target, ExtractionStrategy $strategy) use ($object, $property): ?ExtractionStrategy { |
|
62 | + static function(?ExtractionStrategy $target, ExtractionStrategy $strategy) use ($object, $property) : ?ExtractionStrategy { |
|
63 | 63 | return $target ?? ($strategy->supports($object, $property) ? $strategy : null); |
64 | 64 | }, |
65 | 65 | ); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Reflection; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Reflection\Instanciator; |
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 | namespace Innmind\Reflection; |
5 | 5 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | ) { |
31 | 31 | /** @var Map<string, mixed> $default */ |
32 | 32 | $default = Map::of('string', 'mixed'); |
33 | - $properties ??= $default; |
|
33 | + $properties ?? = $default; |
|
34 | 34 | |
35 | 35 | assertMap('string', 'mixed', $properties, 2); |
36 | 36 |