fix ; typo

This commit is contained in:
Dennis Eichhorn 2019-09-03 21:29:06 +02:00
parent e12ad5212d
commit 96b9d4d1a5

View File

@ -162,7 +162,7 @@ class Heap
return \array_slice(\array_reverse($nodes), 0, $n);
}
private function siftDown(int $start, int $pos) : void;
private function siftDown(int $start, int $pos) : void
{
$item = $this->nodes[$pos];
while ($pos > $start) {