From 5803c1e760414f36773e0ec6d9bc7bb7b70beee0 Mon Sep 17 00:00:00 2001 From: Art4 Date: Mon, 23 Dec 2024 14:11:40 +0000 Subject: [PATCH] Replace Hooks class names with FQCN --- static/dependencies.config.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/static/dependencies.config.php b/static/dependencies.config.php index 29cee155ba..8a982c15fb 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -22,8 +22,6 @@ */ use Dice\Dice; -use Friendica\Core\Hooks\Capability\ICanCreateInstances; -use Friendica\Core\Hooks\Capability\ICanRegisterStrategies; use Friendica\Core\Hooks\Model\DiceInstanceManager; use Friendica\Core\L10n; use Friendica\Core\Lock; @@ -77,7 +75,7 @@ return (function(): array { ['loadConfig'], ], ], - ICanRegisterStrategies::class => [ + \Friendica\Core\Hooks\Capability\ICanRegisterStrategies::class => [ 'instanceOf' => DiceInstanceManager::class, 'constructParams' => [ [Dice::INSTANCE => Dice::SELF], @@ -86,7 +84,7 @@ return (function(): array { \Friendica\AppHelper::class => [ 'instanceOf' => \Friendica\AppLegacy::class, ], - ICanCreateInstances::class => [ + \Friendica\Core\Hooks\Capability\ICanCreateInstances::class => [ 'instanceOf' => DiceInstanceManager::class, 'constructParams' => [ [Dice::INSTANCE => Dice::SELF],