minor #33886 [FrameworkBundle] Added missing return type (derrabus)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[FrameworkBundle] Added missing return type

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

Commits
-------

9813031fbc Added missing return type.
This commit is contained in:
Nicolas Grekas 2019-10-07 15:12:17 +02:00
commit 7df0b6caf6

View File

@ -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);