We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c6c28 commit 1a3d2ddCopy full SHA for 1a3d2dd
ServiceSubscriberTrait.php
@@ -98,12 +98,13 @@ public static function getSubscribedServices(): array
98
*/
99
public function setContainer(ContainerInterface $container)
100
{
101
- $this->container = $container;
102
-
+ $ret = null;
103
if (method_exists(get_parent_class(self::class) ?: '', __FUNCTION__)) {
104
- return parent::setContainer($container);
+ $ret = parent::setContainer($container);
105
}
106
107
- return null;
+ $this->container = $container;
+
108
+ return $ret;
109
110
0 commit comments