From 73281282f4c4e550c07bc67611d7572639fcfdf6 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Wed, 31 Jul 2024 11:00:58 +0200 Subject: [PATCH] Fix --- tests/PHPStan/PhpDoc/DefaultStubFilesProviderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PHPStan/PhpDoc/DefaultStubFilesProviderTest.php b/tests/PHPStan/PhpDoc/DefaultStubFilesProviderTest.php index e7ea48c59..03218eff0 100644 --- a/tests/PHPStan/PhpDoc/DefaultStubFilesProviderTest.php +++ b/tests/PHPStan/PhpDoc/DefaultStubFilesProviderTest.php @@ -47,7 +47,7 @@ public function testGetProjectStubFilesWhenPathContainsWindowsSeparator(): void */ private function createDefaultStubFilesProvider(array $stubFiles): DefaultStubFilesProvider { - return new DefaultStubFilesProvider($this->getContainer(), $stubFiles, $this->currentWorkingDirectory); + return new DefaultStubFilesProvider($this->getContainer(), $stubFiles, [$this->currentWorkingDirectory]); } }