Skip to content

Commit 93ed6fe

Browse files
committed
fix(IRegistrationContext): Use IContainer in registerService factory
Signed-off-by: provokateurin <kate@provokateurin.de>
1 parent 1b86b50 commit 93ed6fe

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/public/AppFramework/Bootstrap/IRegistrationContext.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace OCP\AppFramework\Bootstrap;
1111

12-
use OC\AppFramework\Utility\SimpleContainer;
1312
use OCP\AppFramework\IAppContainer;
1413
use OCP\Authentication\TwoFactorAuth\IProvider;
1514
use OCP\Calendar\ICalendarProvider;
@@ -69,7 +68,7 @@ public function registerDashboardWidget(string $widgetClass): void;
6968
*
7069
* @param string $name
7170
* @param callable $factory
72-
* @psalm-param callable(SimpleContainer): mixed $factory
71+
* @psalm-param callable(IContainer): mixed $factory
7372
* @param bool $shared If set to true the factory result will be cached otherwise every query will call the factory again
7473
*
7574
* @return void

0 commit comments

Comments
 (0)