aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-10-16 08:00:44 +0200
committerGitHub <noreply@github.com>2023-10-16 08:00:44 +0200
commita724fd4e9c7aa3d7f9dec2cc898eae41da4956e2 (patch)
tree9addf37ba30ec1ec0f50c0d396c613e475e3ccca /lib
parent83c2729aaec26f5f471b696dfcdc3d62e7b2b45d (diff)
parenta8ae09c544b98b751024797731e4ba045ee2c277 (diff)
downloadnextcloud-server-a724fd4e9c7aa3d7f9dec2cc898eae41da4956e2.tar.gz
nextcloud-server-a724fd4e9c7aa3d7f9dec2cc898eae41da4956e2.zip
Merge pull request #40900 from nextcloud/bugfix/noid/fix-parameter-types-in-docs
fix(docs): Fix parameter types in docs
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 {