From 7462fa59b1f93428db85171769a3f8dcc98f5020 Mon Sep 17 00:00:00 2001 From: Dawid Nowak Date: Mon, 14 Mar 2016 22:10:13 +0100 Subject: [PATCH] FrameworkBundle: Client: getContainer(): fixed phpdoc The kernel might be shut down and then the method will return null instead of a ContainerInterface object --- src/Symfony/Bundle/FrameworkBundle/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Client.php b/src/Symfony/Bundle/FrameworkBundle/Client.php index 4f569131ad..6de49b3104 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Client.php +++ b/src/Symfony/Bundle/FrameworkBundle/Client.php @@ -41,7 +41,7 @@ class Client extends BaseClient /** * Returns the container. * - * @return ContainerInterface + * @return ContainerInterface|null Returns null when the Kernel has been shutdown or not started yet */ public function getContainer() {