From d92c2de7415db4b1cfc40c4f72807eba713c6f32 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Mon, 16 Feb 2026 09:08:39 +0100 Subject: [PATCH] fix(IRegistrationContext): Use IContainer in registerService factory Signed-off-by: provokateurin --- lib/public/AppFramework/Bootstrap/IRegistrationContext.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php index 5a9785297c2..85ba6591111 100644 --- a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php +++ b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php @@ -9,7 +9,6 @@ declare(strict_types=1); namespace OCP\AppFramework\Bootstrap; -use OC\AppFramework\Utility\SimpleContainer; use OCP\AppFramework\IAppContainer; use OCP\Authentication\TwoFactorAuth\IProvider; use OCP\Calendar\ICalendarProvider; @@ -69,7 +68,7 @@ interface IRegistrationContext { * * @param string $name * @param callable $factory - * @psalm-param callable(SimpleContainer): mixed $factory + * @psalm-param callable(IContainer): mixed $factory * @param bool $shared If set to true the factory result will be cached otherwise every query will call the factory again * * @return void