mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix psalm
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
b0c57ed65f
commit
686e2683ed
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue