fix(IRegistrationContext): Use IContainer in registerService factory

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2026-02-16 09:08:39 +01:00
parent 931d15e476
commit d92c2de741
No known key found for this signature in database

View file

@ -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