@@ -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\Proxy; |
6 | 6 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $this->owner = $theOwner; |
31 | 31 | $this->propertyShouldReference = $theProperty; |
32 | 32 | $this->atPosition = $atPosition; |
33 | - $this->setter = $setter ?: function (string $property, $value, $position): void { |
|
33 | + $this->setter = $setter ?: function(string $property, $value, $position): void { |
|
34 | 34 | $original = $this->$property; |
35 | 35 | if (!$original instanceof Alterable) { |
36 | 36 | throw UnexpectedPropertyType::expectedThe(Alterable::class, |
@@ -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\Proxy; |
6 | 6 | |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | $this->owner = $theOwner; |
29 | 29 | $this->propertyShouldReference = $theProperty; |
30 | 30 | $this->atPosition = $atPosition; |
31 | - $this->setter = $setter ?: function (string $property, $value, $position): void { |
|
31 | + $this->setter = $setter ?: function(string $property, $value, $position): void { |
|
32 | 32 | $this->$property[$position] = $value; |
33 | 33 | }; |
34 | 34 | } |
@@ -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\Proxy; |
6 | 6 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | ) { |
26 | 26 | $this->owner = $theOwner; |
27 | 27 | $this->propertyShouldReference = $theProperty; |
28 | - $this->setter = $setter ?: function (string $property, $value): void { |
|
28 | + $this->setter = $setter ?: function(string $property, $value): void { |
|
29 | 29 | $this->$property = $value; |
30 | 30 | }; |
31 | 31 | } |