summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Bootstrap/IBootContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/Bootstrap/IBootContext.php')
-rw-r--r--lib/public/AppFramework/Bootstrap/IBootContext.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/public/AppFramework/Bootstrap/IBootContext.php b/lib/public/AppFramework/Bootstrap/IBootContext.php
index 86232cef4ad..80a4edf1cd6 100644
--- a/lib/public/AppFramework/Bootstrap/IBootContext.php
+++ b/lib/public/AppFramework/Bootstrap/IBootContext.php
@@ -28,7 +28,6 @@ namespace OCP\AppFramework\Bootstrap;
use OCP\AppFramework\IAppContainer;
use OCP\IServerContainer;
use Psr\Container\ContainerExceptionInterface;
-use Psr\Container\ContainerInterface;
use Throwable;
/**
@@ -41,20 +40,20 @@ interface IBootContext {
*
* Useful to register and query app-specific services
*
- * @return ContainerInterface|IAppContainer
+ * @return IAppContainer
* @since 20.0.0
*/
- public function getAppContainer(): ContainerInterface;
+ public function getAppContainer(): IAppContainer;
/**
* Get hold of the server DI container
*
* Useful to register and query system-wide services
*
- * @return ContainerInterface|IServerContainer
+ * @return IServerContainer
* @since 20.0.0
*/
- public function getServerContainer(): ContainerInterface;
+ public function getServerContainer(): IServerContainer;
/**
* Invoke the given callable and inject all parameters based on their types