mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 15:23:17 -04:00
fix(ci): suppress UndefinedClass for AppAPI related classes since it's bundled
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
This commit is contained in:
parent
a29e170012
commit
fb4150ec86
1 changed files with 3 additions and 0 deletions
|
|
@ -102,6 +102,9 @@ class AppSettingsController extends Controller {
|
|||
return $templateResponse;
|
||||
}
|
||||
|
||||
/**
|
||||
* @psalm-suppress UndefinedClass
|
||||
*/
|
||||
private function provideAppApiState(): void {
|
||||
$appApiEnabled = $this->appManager->isInstalled('app_api');
|
||||
$this->initialState->provideInitialState('appApiEnabled', $appApiEnabled);
|
||||
|
|
|
|||
Loading…
Reference in a new issue