We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f8a61a commit 06d02bcCopy full SHA for 06d02bc
src/Testing/TestCase.php
@@ -192,7 +192,7 @@ private function createReflectionProviderByParameters(
192
private static function getPhpStormStubsSourceStubber(): PhpStormStubsSourceStubber
193
{
194
if (self::$phpStormStubsSourceStubber === null) {
195
- self::$phpStormStubsSourceStubber = new PhpStormStubsSourceStubber(new PhpParserDecorator(self::getContainer()->getByType(CachedParser::class)), self::getContainer()->getByType(PhpVersion::class)->getVersionId());
+ self::$phpStormStubsSourceStubber = self::getContainer()->getByType(PhpStormStubsSourceStubber::class);
196
}
197
198
return self::$phpStormStubsSourceStubber;
0 commit comments