TaskScheduler: fix typo in isReady() parameter

This commit is contained in:
Dylan K. Taylor 2018-05-30 16:45:37 +01:00
parent a8c766be88
commit 18fdbc2834

View File

@ -211,8 +211,8 @@ class TaskScheduler{
}
}
private function isReady(int $currentTicks) : bool{
return count($this->tasks) > 0 and $this->queue->current()->getNextRun() <= $currentTicks;
private function isReady(int $currentTick) : bool{
return count($this->tasks) > 0 and $this->queue->current()->getNextRun() <= $currentTick;
}
/**