Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f8682b

Browse files
committed
[FrameworkBundle] Change KernelTestCase::getContainer() return type to TestContainer
1 parent 3fb7af0 commit 8f8682b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ protected static function bootKernel(array $options = []): KernelInterface
8585
*
8686
* Using this method is the best way to get a container from your test code.
8787
*/
88-
protected static function getContainer(): ContainerInterface
88+
protected static function getContainer(): TestContainer
8989
{
9090
if (!static::$booted) {
9191
static::bootKernel();

0 commit comments

Comments
 (0)