Aggiornato Composer

This commit is contained in:
Paolo A
2024-05-17 12:24:19 +00:00
parent 4ac62108b5
commit ec201d75b2
2238 changed files with 38684 additions and 59785 deletions

View File

@@ -30,12 +30,6 @@ trait ServiceSubscriberTrait
*/
public static function getSubscribedServices(): array
{
static $services;
if (null !== $services) {
return $services;
}
$services = method_exists(get_parent_class(self::class) ?: '', __FUNCTION__) ? parent::getSubscribedServices() : [];
$attributeOptIn = false;
@@ -104,12 +98,13 @@ trait ServiceSubscriberTrait
*/
public function setContainer(ContainerInterface $container)
{
$this->container = $container;
$ret = null;
if (method_exists(get_parent_class(self::class) ?: '', __FUNCTION__)) {
return parent::setContainer($container);
$ret = parent::setContainer($container);
}
return null;
$this->container = $container;
return $ret;
}
}