@@ -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 | /** |
@@ -153,7 +153,7 @@ |
||
| 153 | 153 | public function order($generator) { |
| 154 | 154 | $result = array(); |
| 155 | 155 | |
| 156 | - foreach(range(1, $this->getSize() - 1) as $number) { |
|
| 156 | + foreach (range(1, $this->getSize() - 1) as $number) { |
|
| 157 | 157 | $value = pow($generator, $number) % $this->getSize(); |
| 158 | 158 | $result[$value] = $value; |
| 159 | 159 | } |