aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2024-02-08 10:44:19 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-02-08 13:40:22 +0000
commit257b4fb683f9ae933523b7ae156dc6796fd7104e (patch)
tree0b73372c9d950e994ab2392f5e3133bbc813b019 /apps/settings
parent01302f770f433b2459c21546d7629e26832fa02d (diff)
downloadnextcloud-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.php3
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;
}