@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | private function __construct( |
21 | 21 | ?Closure $setter |
22 | 22 | ) { |
23 | - $this->setter = $setter ?: function (string $attribute, $value): void { |
|
23 | + $this->setter = $setter ?: function(string $attribute, $value): void { |
|
24 | 24 | $this->$attribute = $value; |
25 | 25 | }; |
26 | 26 | } |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | return new self((new class { |
55 | 55 | public function setter(): Closure |
56 | 56 | { |
57 | - return function (string $name, $value): void { |
|
57 | + return function(string $name, $value): void { |
|
58 | 58 | $object = new ReflectionObject($this); |
59 | 59 | while ($object && !$object->hasProperty($name)) { |
60 | 60 | $object = $object->getParentClass(); |