aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-10-13 11:02:42 +0200
committerJoas Schilling <coding@schilljs.com>2023-10-13 11:02:42 +0200
commita8ae09c544b98b751024797731e4ba045ee2c277 (patch)
tree7ed08ba0a757445bebafc1d398130aa44d8daf74 /lib
parent160a2b71209fa4ec9f9513ba441335757a31b198 (diff)
downloadnextcloud-server-a8ae09c544b98b751024797731e4ba045ee2c277.tar.gz
nextcloud-server-a8ae09c544b98b751024797731e4ba045ee2c277.zip
fix(docs): Fix parameter types in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/AppFramework/Bootstrap/RegistrationContext.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/private/AppFramework/Bootstrap/RegistrationContext.php b/lib/private/AppFramework/Bootstrap/RegistrationContext.php
index 5aea2a7a744..b3ef3ee65fb 100644
--- a/lib/private/AppFramework/Bootstrap/RegistrationContext.php
+++ b/lib/private/AppFramework/Bootstrap/RegistrationContext.php
@@ -137,9 +137,6 @@ class RegistrationContext {
/** @var ServiceRegistration<IReferenceProvider>[] */
private array $referenceProviders = [];
-
-
-
/** @var ParameterRegistration[] */
private $sensitiveMethods = [];
@@ -383,14 +380,14 @@ class RegistrationContext {
}
/**
- * @psalm-param class-string<IReporter> $capability
+ * @psalm-param class-string<IReporter> $reporterClass
*/
public function registerCrashReporter(string $appId, string $reporterClass): void {
$this->crashReporters[] = new ServiceRegistration($appId, $reporterClass);
}
/**
- * @psalm-param class-string<IWidget> $capability
+ * @psalm-param class-string<IWidget> $panelClass
*/
public function registerDashboardPanel(string $appId, string $panelClass): void {
$this->dashboardPanels[] = new ServiceRegistration($appId, $panelClass);
@@ -565,9 +562,6 @@ class RegistrationContext {
}
}
- /**
- * @param App[] $apps
- */
public function delegateDashboardPanelRegistrations(IManager $dashboardManager): void {
while (($panel = array_shift($this->dashboardPanels)) !== null) {
try {