@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | $context = $context ?: new Context(); |
| 34 | 34 | |
| 35 | 35 | $result = parent::transform($resource, $context); |
| 36 | - if (! empty($this->deferredTree)) { |
|
| 36 | + if (!empty($this->deferredTree)) { |
|
| 37 | 37 | $result = $this->loadDeferred($result); |
| 38 | 38 | |
| 39 | 39 | return $this->transform($result, $context); |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | protected function transformAny($resource, Context $context, Path $path) |
| 54 | 54 | { |
| 55 | - if (! $resource instanceof Deferred) { |
|
| 55 | + if (!$resource instanceof Deferred) { |
|
| 56 | 56 | return parent::transformAny($resource, $context, $path); |
| 57 | 57 | } |
| 58 | 58 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | $lastKey = array_pop($path); |
| 10 | 10 | $current = &$array; |
| 11 | 11 | |
| 12 | - foreach($path as $key) { |
|
| 12 | + foreach ($path as $key) { |
|
| 13 | 13 | $current = &$current[$key]; |
| 14 | 14 | } |
| 15 | 15 | |