aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2024-02-08 10:44:19 +0100
committerSimon L <szaimen@e.mail.de>2024-02-08 14:12:28 +0100
commit686e2683ed5bf240eaf8ae711c0ec9bf802adb09 (patch)
treeabcdc400c6472550c4da1723e0d60e3fe1e41c7b /apps
parentb0c57ed65fe419674ce8eaf080996f3a96833263 (diff)
downloadnextcloud-server-686e2683ed5bf240eaf8ae711c0ec9bf802adb09.tar.gz
nextcloud-server-686e2683ed5bf240eaf8ae711c0ec9bf802adb09.zip
fix psalm
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'apps')
-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;
}