diff options
author | Simon L <szaimen@e.mail.de> | 2024-02-08 10:44:19 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-02-08 13:40:22 +0000 |
commit | 257b4fb683f9ae933523b7ae156dc6796fd7104e (patch) | |
tree | 0b73372c9d950e994ab2392f5e3133bbc813b019 /apps/settings | |
parent | 01302f770f433b2459c21546d7629e26832fa02d (diff) | |
download | nextcloud-server-257b4fb683f9ae933523b7ae156dc6796fd7104e.tar.gz nextcloud-server-257b4fb683f9ae933523b7ae156dc6796fd7104e.zip |
fix psalm
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/lib/Settings/Personal/ServerDevNotice.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings/lib/Settings/Personal/ServerDevNotice.php b/apps/settings/lib/Settings/Personal/ServerDevNotice.php index 5d31eda65d2..8ff68b4063f 100644 --- a/apps/settings/lib/Settings/Personal/ServerDevNotice.php +++ b/apps/settings/lib/Settings/Personal/ServerDevNotice.php @@ -80,6 +80,9 @@ class ServerDevNotice implements ISettings { // If the Reasons to use Nextcloud.pdf file is here, let's init Viewer, also check that Viewer is there if (class_exists(LoadViewer::class) && $userFolder->nodeExists('Reasons to use Nextcloud.pdf')) { + /** + * @psalm-suppress UndefinedClass, InvalidArgument + */ $this->eventDispatcher->dispatch(LoadViewer::class, new LoadViewer()); $hasInitialState = true; } |