updated packages
This commit is contained in:
@@ -32,7 +32,7 @@ trait ServiceSubscriberTrait
|
||||
return $services;
|
||||
}
|
||||
|
||||
$services = \is_callable(array('parent', __FUNCTION__)) ? parent::getSubscribedServices() : array();
|
||||
$services = \is_callable(['parent', __FUNCTION__]) ? parent::getSubscribedServices() : [];
|
||||
|
||||
foreach ((new \ReflectionClass(self::class))->getMethods() as $method) {
|
||||
if ($method->isStatic() || $method->isAbstract() || $method->isGenerator() || $method->isInternal() || $method->getNumberOfRequiredParameters()) {
|
||||
@@ -54,7 +54,7 @@ trait ServiceSubscriberTrait
|
||||
{
|
||||
$this->container = $container;
|
||||
|
||||
if (\is_callable(array('parent', __FUNCTION__))) {
|
||||
if (\is_callable(['parent', __FUNCTION__])) {
|
||||
return parent::setContainer($container);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user