Skip to content

Commit 6d5c687

Browse files
committed
FrameworkBundle: Client: getContainer(): fixed phpdoc
The kernel might be shut down and then the method will return null instead of a ContainerInterface object
1 parent b7972c2 commit 6d5c687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(KernelInterface $kernel, array $server = array(), Hi
4141
/**
4242
* Returns the container.
4343
*
44-
* @return ContainerInterface
44+
* @return ContainerInterface|null Returns null when the Kernel has been shutdown or not started yet
4545
*/
4646
public function getContainer()
4747
{

0 commit comments

Comments
 (0)