@@ -31,7 +31,7 @@ |
||
31 | 31 | $this->class = $reflector; |
32 | 32 | $this->properties = $mapped; |
33 | 33 | $this->observer = $observer; |
34 | - $this->setter = $setter ?: function (string $attribute, $value) |
|
34 | + $this->setter = $setter ?: function(string $attribute, $value) |
|
35 | 35 | { |
36 | 36 | $this->$attribute = $value; |
37 | 37 | }; |
@@ -27,7 +27,7 @@ |
||
27 | 27 | ) { |
28 | 28 | $this->class = $reflector; |
29 | 29 | $this->observer = $observer; |
30 | - $this->setter = $setter ?: function (string $attribute, $value) |
|
30 | + $this->setter = $setter ?: function(string $attribute, $value) |
|
31 | 31 | { |
32 | 32 | $this->$attribute = $value; |
33 | 33 | }; |