From 0e23f35438c706b1a028d88e379f6652ae390740 Mon Sep 17 00:00:00 2001 From: Art4 Date: Sun, 17 Nov 2024 20:11:43 +0000 Subject: [PATCH] Add Dice rule for AppHelper --- static/dependencies.config.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/dependencies.config.php b/static/dependencies.config.php index 0a1e56b873..615319336b 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -23,6 +23,8 @@ use Dice\Dice; use Friendica\App; +use Friendica\AppHelper; +use Friendica\AppLegacy; use Friendica\Core\Cache; use Friendica\Core\Config; use Friendica\Core\Hooks\Capability\ICanCreateInstances; @@ -93,6 +95,9 @@ return [ [Dice::INSTANCE => Dice::SELF], ], ], + AppHelper::class => [ + 'instanceOf' => AppLegacy::class, + ], ICanCreateInstances::class => [ 'instanceOf' => DiceInstanceManager::class, 'constructParams' => [