summaryrefslogtreecommitdiffstats
path: root/lib/public/IContainer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IContainer.php')
-rw-r--r--lib/public/IContainer.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/IContainer.php b/lib/public/IContainer.php
index 86595e1e8f7..b27ddabb8e2 100644
--- a/lib/public/IContainer.php
+++ b/lib/public/IContainer.php
@@ -33,6 +33,7 @@ use Closure;
use OCP\AppFramework\QueryException;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
+use Psr\Container\NotFoundExceptionInterface;
/**
* Class IContainer
@@ -70,6 +71,7 @@ interface IContainer extends ContainerInterface {
* @return mixed
* @psalm-return ($name is class-string ? T : mixed)
* @throws ContainerExceptionInterface if the query could not be resolved
+ * @throws NotFoundExceptionInterface if the name could not be found within the container
* @throws QueryException if the query could not be resolved
* @since 6.0.0
* @deprecated 20.0.0 use \Psr\Container\ContainerInterface::get