File tree 2 files changed +3
-2
lines changed
src/Symfony/Bundle/FrameworkBundle/Test
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ index d68ae4c8b3..8e980a9e70 100644
14
14
* @return TestContainer
15
15
*/
16
16
- protected static function getContainer(): ContainerInterface
17
- + protected static function getContainer(): TestContainer
17
+ + protected static function getContainer(): Container
18
18
{
19
19
if (!static::$booted) {
20
20
diff --git a/src/Symfony/Component/BrowserKit/AbstractBrowser.php b/src/Symfony/Component/BrowserKit/AbstractBrowser.php
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Bundle \FrameworkBundle \Test ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
+ use Symfony \Component \DependencyInjection \Container ;
15
16
use Symfony \Component \DependencyInjection \ContainerInterface ;
16
17
use Symfony \Component \DependencyInjection \Exception \ServiceNotFoundException ;
17
18
use Symfony \Component \HttpKernel \KernelInterface ;
@@ -83,7 +84,7 @@ protected static function bootKernel(array $options = []): KernelInterface
83
84
*
84
85
* Using this method is the best way to get a container from your test code.
85
86
*
86
- * @return TestContainer
87
+ * @return Container
87
88
*/
88
89
protected static function getContainer (): ContainerInterface
89
90
{
You can’t perform that action at this time.
0 commit comments