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