Skip to content

Commit e5aa7c4

Browse files
committed
Fix TestCase::getContainer method signature
1 parent 14ba1cb commit e5aa7c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Functional/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Symfony\Bundle\FrameworkBundle\Client;
1010
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
1111
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
12+
use Symfony\Component\DependencyInjection\ContainerInterface;
1213
use Symfony\Component\Filesystem\Filesystem;
1314
use Symfony\Component\HttpFoundation\Request;
1415

@@ -90,7 +91,7 @@ protected static function assertGraphQL(string $query, array $expectedData = nul
9091
static::assertSame($expected, $result, \json_encode($result));
9192
}
9293

93-
protected static function getContainer()
94+
protected static function getContainer(): ContainerInterface
9495
{
9596
return static::$kernel->getContainer();
9697
}

0 commit comments

Comments
 (0)