mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
fix(IRegistrationContext): Use IContainer in registerService factory
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
931d15e476
commit
d92c2de741
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue