@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Stratadox\Hydration\Hydrator; |
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 Stratadox\Hydration\Hydrator; |
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 Stratadox\Hydration\Hydrator; |
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 Stratadox\Hydration\Hydrator; |
6 | 6 | |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | Closure $setter = null |
25 | 25 | ) { |
26 | 26 | $this->class = $reflector; |
27 | - $this->setter = $setter ?: function (string $attribute, $value) |
|
27 | + $this->setter = $setter ?: function(string $attribute, $value) |
|
28 | 28 | { |
29 | 29 | $this->$attribute = $value; |
30 | 30 | }; |
@@ -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 Stratadox\Hydration\Hydrator; |
6 | 6 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | ) { |
30 | 30 | $this->mapper = $mapped; |
31 | 31 | $this->class = $reflector; |
32 | - $this->setter = $setter ?: function (string $attribute, $value) |
|
32 | + $this->setter = $setter ?: function(string $attribute, $value) |
|
33 | 33 | { |
34 | 34 | $this->$attribute = $value; |
35 | 35 | }; |