mirror of
https://github.com/friendica/friendica
synced 2025-01-03 14:42:18 +00:00
Replace Hooks class names with FQCN
This commit is contained in:
parent
f1405cdb6c
commit
5803c1e760
1 changed files with 2 additions and 4 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue