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:39:48 +0000 |
commit | 86c8584cf0e011477dfba215117c21d1dd8e3189 (patch) | |
tree | 67c8787c4d2387acf2f4c075c4c7a3026ed08886 /apps/settings | |
parent | c5cb2e86e3887d223bedc7ea7d5052eab518bde8 (diff) | |
download | nextcloud-server-86c8584cf0e011477dfba215117c21d1dd8e3189.tar.gz nextcloud-server-86c8584cf0e011477dfba215117c21d1dd8e3189.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 8e08b2c8c7f..3f1be7432d0 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; } |