@@ -260,9 +260,9 @@ |
||
260 | 260 | } |
261 | 261 | |
262 | 262 | if ($r > 0) { |
263 | - $reverse(0, $r); |
|
263 | + $reverse(0, $r); |
|
264 | 264 | $reverse($r, $n); |
265 | - $reverse(0, $n); |
|
265 | + $reverse(0, $n); |
|
266 | 266 | } |
267 | 267 | } |
268 | 268 |
@@ -55,7 +55,7 @@ |
||
55 | 55 | */ |
56 | 56 | public function copy(): Pair |
57 | 57 | { |
58 | - $key = is_object($this->key) ? clone $this->key : $this->key; |
|
58 | + $key = is_object($this->key) ? clone $this->key : $this->key; |
|
59 | 59 | $value = is_object($this->value) ? clone $this->value : $this->value; |
60 | 60 | |
61 | 61 | return new self($key, $value); |