@@ -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,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Ds\Traits; |
3 | 3 | |
4 | -use Error; |
|
5 | 4 | use OutOfRangeException; |
6 | 5 | use Traversable; |
7 | 6 | use UnderflowException; |