@@ -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,13 +25,13 @@ 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 | { |
30 | 30 | $this->$property = $value; |
31 | 31 | }; |
32 | 32 | } |
33 | 33 | |
34 | - public static function for( |
|
34 | + public static function for ( |
|
35 | 35 | $theOwner, |
36 | 36 | string $ofTheProperty, |
37 | 37 | Closure $setter = null |
@@ -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 | |
@@ -18,6 +18,6 @@ discard block |
||
18 | 18 | $atPosition = null |
19 | 19 | ) : UpdatesTheProxyOwner |
20 | 20 | { |
21 | - return AlterableCollectionEntryUpdater::for($theOwner, $ofTheProperty, $atPosition); |
|
21 | + return AlterableCollectionEntryUpdater::for ($theOwner, $ofTheProperty, $atPosition); |
|
22 | 22 | } |
23 | 23 | } |
@@ -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 | |
@@ -18,6 +18,6 @@ discard block |
||
18 | 18 | $atPosition = null |
19 | 19 | ) : UpdatesTheProxyOwner |
20 | 20 | { |
21 | - return ArrayEntryUpdater::for($theOwner, $ofTheProperty, $atPosition); |
|
21 | + return ArrayEntryUpdater::for ($theOwner, $ofTheProperty, $atPosition); |
|
22 | 22 | } |
23 | 23 | } |
@@ -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\Proxy; |
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\Proxy; |
6 | 6 | |
@@ -28,13 +28,13 @@ 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 | { |
33 | 33 | $this->$property[$position] = $value; |
34 | 34 | }; |
35 | 35 | } |
36 | 36 | |
37 | - public static function for( |
|
37 | + public static function for ( |
|
38 | 38 | $theOwner, |
39 | 39 | string $ofTheProperty, |
40 | 40 | $atPosition, |
@@ -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 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | $this->owner = $theOwner; |
30 | 30 | $this->propertyShouldReference = $theProperty; |
31 | 31 | $this->atPosition = $atPosition; |
32 | - $this->setter = $setter ?: function (string $property, $value, $position) : void |
|
32 | + $this->setter = $setter ?: function(string $property, $value, $position) : void |
|
33 | 33 | { |
34 | 34 | $original = $this->$property; |
35 | 35 | if (!$original instanceof Alterable) { |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | }; |
42 | 42 | } |
43 | 43 | |
44 | - public static function for( |
|
44 | + public static function for ( |
|
45 | 45 | $theOwner, |
46 | 46 | string $ofTheProperty, |
47 | 47 | $atPosition, |
@@ -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 | |
@@ -18,6 +18,6 @@ discard block |
||
18 | 18 | $atPosition = null |
19 | 19 | ) : UpdatesTheProxyOwner |
20 | 20 | { |
21 | - return PropertyUpdater::for($theOwner, $ofTheProperty); |
|
21 | + return PropertyUpdater::for ($theOwner, $ofTheProperty); |
|
22 | 22 | } |
23 | 23 | } |
@@ -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\Proxy; |
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\Proxy; |
6 | 6 |