Passed
Pull Request — master (#64)
by
unknown
02:48
created
src/Zicht/Itertools/reductions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
  */
88 88
 function chain()
89 89
 {
90
-    return function ($chainIterator, $b) {
90
+    return function($chainIterator, $b) {
91 91
         if (!($chainIterator instanceof ChainIterator)) {
92 92
             throw new \InvalidArgumentException('Argument $A must be a ChainIterator.  Did your call "reduce" with "new ChainIterator()" as the initial parameter?');
93 93
         }
Please login to merge, or discard this patch.
src/Zicht/Itertools/itertools.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -602,7 +602,7 @@  discard block
 block discarded – undo
602 602
     switch (sizeof($args)) {
603 603
         case 2:
604 604
             $strategy = Conversions::mixedToValueGetter($args[0]);
605
-            $closure = function ($value, $key) use ($strategy) {
605
+            $closure = function($value, $key) use ($strategy) {
606 606
                 $tempVarPhp54 = call_user_func($strategy, $value, $key);
607 607
                 return !empty($tempVarPhp54);
608 608
             };
@@ -612,7 +612,7 @@  discard block
 block discarded – undo
612 612
         case 3:
613 613
             $strategy = Conversions::mixedToValueGetter($args[0]);
614 614
             $userClosure = $args[1];
615
-            $closure = function ($value, $key) use ($strategy, $userClosure) {
615
+            $closure = function($value, $key) use ($strategy, $userClosure) {
616 616
                 return call_user_func($userClosure, call_user_func($strategy, $value, $key));
617 617
             };
618 618
             $iterable = Conversions::mixedToIterator($args[2]);
Please login to merge, or discard this patch.