mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-02 13:09:53 +09:00
Update dependencies
This commit is contained in:
@@ -30,13 +30,7 @@ trait ServiceSubscriberTrait
|
||||
*/
|
||||
public static function getSubscribedServices(): array
|
||||
{
|
||||
static $services;
|
||||
|
||||
if (null !== $services) {
|
||||
return $services;
|
||||
}
|
||||
|
||||
$services = \is_callable(['parent', __FUNCTION__]) ? parent::getSubscribedServices() : [];
|
||||
$services = method_exists(get_parent_class(self::class) ?: '', __FUNCTION__) ? parent::getSubscribedServices() : [];
|
||||
$attributeOptIn = false;
|
||||
|
||||
if (\PHP_VERSION_ID >= 80000) {
|
||||
@@ -106,7 +100,7 @@ trait ServiceSubscriberTrait
|
||||
{
|
||||
$this->container = $container;
|
||||
|
||||
if (\is_callable(['parent', __FUNCTION__])) {
|
||||
if (method_exists(get_parent_class(self::class) ?: '', __FUNCTION__)) {
|
||||
return parent::setContainer($container);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user