mirror of
https://github.com/nextcloud/server.git
synced 2026-03-09 09:51:03 -04:00
Merge pull request #40900 from nextcloud/bugfix/noid/fix-parameter-types-in-docs
fix(docs): Fix parameter types in docs
This commit is contained in:
commit
a724fd4e9c
1 changed files with 2 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue