@@ -28,7 +28,7 @@ |
||
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 | } |
@@ -30,7 +30,7 @@ |
||
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, |