summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/Bootstrap/IRegistrationContext.php')
-rw-r--r--lib/public/AppFramework/Bootstrap/IRegistrationContext.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
index 8bc21a545f6..a53a4d2a6e4 100644
--- a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
+++ b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
@@ -30,6 +30,7 @@ declare(strict_types=1);
namespace OCP\AppFramework\Bootstrap;
use OCP\AppFramework\IAppContainer;
+use OCP\Capabilities\ICapability;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Files\Template\ICustomTemplateProvider;
use OCP\IContainer;
@@ -44,6 +45,7 @@ interface IRegistrationContext {
/**
* @param string $capability
+ * @psalm-param class-string<ICapability> $capability
* @see IAppContainer::registerCapability
*
* @since 20.0.0