Completed
Push — master ( 747a6a...c6c655 )
by Ítalo
02:55
created
src/Traits/VectorLikeTrait.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,7 @@
 block discarded – undo
102 102
             throw new \InvalidArgumentException('Parameter len must be null or an integer');
103 103
         }
104 104
 
105
-        $removed = is_null($length) ? array_splice($this->container, $offset) :
106
-            array_splice($this->container, $offset, $len);
105
+        $removed = is_null($length) ? array_splice($this->container, $offset) : array_splice($this->container, $offset, $len);
107 106
 
108 107
 //        if (count($removed) > 0) {
109 108
 //            $this->hacklib_expireAllIterators();
Please login to merge, or discard this patch.
src/Traits/CommonContainerMethodsTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -245,8 +245,8 @@
 block discarded – undo
245 245
     {
246 246
         /** @var VectorInterface $results */
247 247
         $results = new static();
248
-        $this->each(function (Iterable $subArray) use ($results) {
249
-            $subArray->each(function ($item) use ($results) {
248
+        $this->each(function(Iterable $subArray) use ($results) {
249
+            $subArray->each(function($item) use ($results) {
250 250
                 $results->add($item);
251 251
             });
252 252
         });
Please login to merge, or discard this patch.