Replace disallowed operators in tests/

This commit is contained in:
Dylan K. Taylor
2022-01-20 16:48:36 +00:00
parent 4d55935bd8
commit 6846f1e78a
4 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ class AsyncPoolTest extends TestCase{
public function testTaskLeak() : void{
$start = microtime(true);
$this->pool->submitTask(new LeakTestAsyncTask());
while(!LeakTestAsyncTask::$destroyed and microtime(true) < $start + 30){
while(!LeakTestAsyncTask::$destroyed && microtime(true) < $start + 30){
usleep(50 * 1000);
$this->pool->collectTasks();
}