Replace disallowed operators in src/scheduler/

This commit is contained in:
Dylan K. Taylor
2022-01-20 19:20:03 +00:00
parent 03f47d0a78
commit b85fe0e72a
4 changed files with 9 additions and 9 deletions

View File

@ -150,6 +150,6 @@ class TaskScheduler{
}
private function isReady(int $currentTick) : bool{
return !$this->queue->isEmpty() and $this->queue->current()->getNextRun() <= $currentTick;
return !$this->queue->isEmpty() && $this->queue->current()->getNextRun() <= $currentTick;
}
}