@@ -160,7 +160,7 @@ |
||
160 | 160 | * @param int $a |
161 | 161 | * @param int $b |
162 | 162 | * |
163 | - * @return bool |
|
163 | + * @return integer |
|
164 | 164 | */ |
165 | 165 | private function compare(int $a, int $b) |
166 | 166 | { |
@@ -282,7 +282,7 @@ |
||
282 | 282 | */ |
283 | 283 | private function siftUp(int $leaf) |
284 | 284 | { |
285 | - for (; $leaf > 0; $leaf = $parent) { |
|
285 | + for (; $leaf > 0; $leaf = $parent) { |
|
286 | 286 | |
287 | 287 | $parent = $this->parent($leaf); |
288 | 288 |