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