Passed
Push — master ( d9423e...3d42cd )
by Lukas
04:29
created
src/DeferredAwareTransformer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Helper/Arr.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.