From c35546dfbb793f1e57ba279826424e9442e64d22 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 18 Jun 2025 16:57:50 +0200 Subject: [PATCH] fix: getcontainer return type --- src/Symfony/Bundle/Test/Client.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Symfony/Bundle/Test/Client.php b/src/Symfony/Bundle/Test/Client.php index 426c80ab055..b6192abd709 100644 --- a/src/Symfony/Bundle/Test/Client.php +++ b/src/Symfony/Bundle/Test/Client.php @@ -149,10 +149,8 @@ public function getKernelBrowser(): KernelBrowser /** * Returns the container. - * - * @return ContainerInterface|null Returns null when the Kernel has been shutdown or not started yet */ - public function getContainer(): ?ContainerInterface + public function getContainer(): ContainerInterface { return $this->kernelBrowser->getContainer(); }