@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | */ |
| 155 | 155 | public function toObject(): \stdClass |
| 156 | 156 | { |
| 157 | - return (object) json_decode($this->toJson()); |
|
| 157 | + return (object)json_decode($this->toJson()); |
|
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | /** |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | throw new MissingResourceException('No resource has been defined to transform'); |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | - return (array) $this->transform(); |
|
| 215 | + return (array)$this->transform(); |
|
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | /** |