Skip to content

Commit 06d02bc

Browse files
committed
Fix
1 parent 0f8a61a commit 06d02bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Testing/TestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ private function createReflectionProviderByParameters(
192192
private static function getPhpStormStubsSourceStubber(): PhpStormStubsSourceStubber
193193
{
194194
if (self::$phpStormStubsSourceStubber === null) {
195-
self::$phpStormStubsSourceStubber = new PhpStormStubsSourceStubber(new PhpParserDecorator(self::getContainer()->getByType(CachedParser::class)), self::getContainer()->getByType(PhpVersion::class)->getVersionId());
195+
self::$phpStormStubsSourceStubber = self::getContainer()->getByType(PhpStormStubsSourceStubber::class);
196196
}
197197

198198
return self::$phpStormStubsSourceStubber;

0 commit comments

Comments
 (0)