Skip to content

Commit c35546d

Browse files
fix: getcontainer return type
1 parent 64ff50f commit c35546d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Bundle/Test/Client.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,8 @@ public function getKernelBrowser(): KernelBrowser
149149

150150
/**
151151
* Returns the container.
152-
*
153-
* @return ContainerInterface|null Returns null when the Kernel has been shutdown or not started yet
154152
*/
155-
public function getContainer(): ?ContainerInterface
153+
public function getContainer(): ContainerInterface
156154
{
157155
return $this->kernelBrowser->getContainer();
158156
}

0 commit comments

Comments
 (0)