Completed
Push — master ( f45902...93f8ee )
by Jean
03:19
created
src/ChainableArray.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,8 +31,9 @@  discard block
 block discarded – undo
31 31
     {
32 32
         Arrays::mustBeCountable($data);
33 33
 
34
-        if ($data instanceof self)
35
-            return $data;
34
+        if ($data instanceof self) {
35
+                    return $data;
36
+        }
36 37
 
37 38
         return new static($data, $isConstant);
38 39
     }
@@ -101,8 +102,7 @@  discard block
 block discarded – undo
101 102
     {
102 103
         if ($this->isConstant) {
103 104
             return new static($out);
104
-        }
105
-        else {
105
+        } else {
106 106
             $this->data = $out;
107 107
             return $this;
108 108
         }
Please login to merge, or discard this patch.