@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace drupol\phpermutations\Generators; |
| 4 | 4 | |
| 5 | -use drupol\phpermutations\Iterators\RangeIterator; |
|
| 6 | 5 | use drupol\phpermutations\Permutations as PermutationsClass; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -62,8 +62,7 @@ |
||
| 62 | 62 | public function next() { |
| 63 | 63 | if ($this->nextHelper()) { |
| 64 | 64 | $this->key++; |
| 65 | - } |
|
| 66 | - else { |
|
| 65 | + } else { |
|
| 67 | 66 | $this->key = -1; |
| 68 | 67 | } |
| 69 | 68 | } |