Test Failed
Branch master (7df10c)
by Maxim
09:20 queued 06:59
created
src/WS/Utils/Collections/Iterator/IteratorFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     public static function directSequence($length): Iterator
11 11
     {
12 12
         $current = 0;
13
-        return new CallbackIterator(static function () use (& $current, $length) {
13
+        return new CallbackIterator(static function() use (& $current, $length) {
14 14
             if ($current === $length) {
15 15
                 return (new IterateResult())->setAsRunOut();
16 16
             }
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     public static function reverseSequence($length): Iterator
23 23
     {
24 24
         $current = $length - 1;
25
-        return new CallbackIterator(static function () use (& $current) {
25
+        return new CallbackIterator(static function() use (& $current) {
26 26
             if ($current === -1) {
27 27
                 return (new IterateResult())->setAsRunOut();
28 28
             }
Please login to merge, or discard this patch.