diff --git a/tests/Messenger/TestControllerFunctionalTest.php b/tests/Messenger/TestControllerFunctionalTest.php index 479d0df..f4cd320 100644 --- a/tests/Messenger/TestControllerFunctionalTest.php +++ b/tests/Messenger/TestControllerFunctionalTest.php @@ -15,7 +15,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; -use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\DependencyInjection\Container; use Symfony\Component\Messenger\Transport\InMemoryTransport; final class TestControllerFunctionalTest extends WebTestCase @@ -53,7 +53,7 @@ public function testControllerWithResponse(): void $this->assertSame(200, $client->getResponse()->getStatusCode()); } - protected static function getContainer(): ContainerInterface + protected static function getContainer(): Container { if (method_exists(KernelTestCase::class, 'getContainer')) { return parent::getContainer();