@@ -29,7 +29,7 @@ |
||
| 29 | 29 | ) { |
| 30 | 30 | $this->mapper = $mapped; |
| 31 | 31 | $this->class = $reflector; |
| 32 | - $this->setter = $setter ?: function (string $attribute, $value) |
|
| 32 | + $this->setter = $setter ?: function(string $attribute, $value) |
|
| 33 | 33 | { |
| 34 | 34 | $this->$attribute = $value; |
| 35 | 35 | }; |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | Closure $setter = null |
| 25 | 25 | ) { |
| 26 | 26 | $this->class = $reflector; |
| 27 | - $this->setter = $setter ?: function (string $attribute, $value) |
|
| 27 | + $this->setter = $setter ?: function(string $attribute, $value) |
|
| 28 | 28 | { |
| 29 | 29 | $this->$attribute = $value; |
| 30 | 30 | }; |