@@ -260,9 +260,9 @@ |
||
260 | 260 | $r = $this->normalizeRotations($rotations, $n); |
261 | 261 | |
262 | 262 | if ($r > 0) { |
263 | - $this->reverseRange(0, $r); |
|
263 | + $this->reverseRange(0, $r); |
|
264 | 264 | $this->reverseRange($r, $n); |
265 | - $this->reverseRange(0, $n); |
|
265 | + $this->reverseRange(0, $n); |
|
266 | 266 | } |
267 | 267 | } |
268 | 268 |
@@ -1,9 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Ds\Traits; |
3 | 3 | |
4 | -use Error; |
|
5 | 4 | use OutOfRangeException; |
6 | -use Traversable; |
|
7 | 5 | use UnderflowException; |
8 | 6 | |
9 | 7 | /** |