diff --git a/apps/files/lib/AppInfo/Application.php b/apps/files/lib/AppInfo/Application.php index 5ed126f460..434fb482aa 100644 --- a/apps/files/lib/AppInfo/Application.php +++ b/apps/files/lib/AppInfo/Application.php @@ -96,7 +96,7 @@ class Application extends App implements IBootstrap { /** * Services */ - $context->registerService('TagService', function (ContainerInterface $c) { + $context->registerService(TagService::class, function (ContainerInterface $c) { /** @var IServerContainer $server */ $server = $c->get(IServerContainer::class);