Completed
Pull Request — master (#1)
by Pol
04:26 queued 01:57
created
src/Generators/Product.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
   public function next() {
60 60
     if ($this->_next()) {
61 61
       $this->pos++;
62
-    }
63
-    else {
62
+    } else {
64 63
       $this->pos = -1;
65 64
     }
66 65
   }
Please login to merge, or discard this patch.
src/Iterators/Combinations.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
   public function next() {
60 60
     if ($this->_next()) {
61 61
       $this->pos++;
62
-    }
63
-    else {
62
+    } else {
64 63
       $this->pos = -1;
65 64
     }
66 65
   }
Please login to merge, or discard this patch.
src/Generators/Permutations.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
   public function next() {
60 60
     if ($this->_next()) {
61 61
       $this->pos++;
62
-    }
63
-    else {
62
+    } else {
64 63
       $this->pos = -1;
65 64
     }
66 65
   }
Please login to merge, or discard this patch.