Skip to content

Commit 28b38a8

Browse files
committed
Fix deprecated parameter usage
1 parent 6c03166 commit 28b38a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Driver/ParallelFileTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ class ParallelFileTest extends AsyncFileTest
1616

1717
protected function createDriver(int $workerLimit = self::DEFAULT_WORKER_LIMIT): File\FilesystemDriver
1818
{
19-
$this->pool = new ContextWorkerPool();
19+
$this->pool = new ContextWorkerPool($workerLimit);
2020

21-
return new ParallelFilesystemDriver($this->pool, $workerLimit);
21+
return new ParallelFilesystemDriver($this->pool);
2222
}
2323

2424
protected function tearDown(): void

0 commit comments

Comments
 (0)