From 9813031fbcf36e22eeafc152848339958083dc23 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Mon, 7 Oct 2019 15:09:11 +0200 Subject: [PATCH] Added missing return type. --- .../FrameworkBundle/Tests/Controller/TestAbstractController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/TestAbstractController.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/TestAbstractController.php index f98cc3bc3b..30480d9f1d 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/TestAbstractController.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/TestAbstractController.php @@ -28,7 +28,7 @@ class TestAbstractController extends AbstractController return $this->$method(...$arguments); } - public function setContainer(ContainerInterface $container) + public function setContainer(ContainerInterface $container): ?ContainerInterface { if (!$this->throwOnUnexpectedService) { return parent::setContainer($container);