We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8da2be8 + f1ced82 commit e691a0cCopy full SHA for e691a0c
src/Symfony/TestCase/SymfonyContainer.php
@@ -16,6 +16,6 @@ trait SymfonyContainer
16
17
public function createContainer(): ContainerInterface
18
{
19
- return static::bootKernel()->getContainer()->get(__CLASS__);
+ return static::bootKernel()->getContainer()->get(\get_called_class());
20
}
21
0 commit comments