summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-03-06 15:44:42 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-03-11 09:28:27 +0100
commit3cdadeb9e9c75b4e68a8c3c0d4825b0fae2a7854 (patch)
treeaf790435e972e3d37fb3b0d1bf3df073ca071558 /apps
parent92a6530c0f8bf50e94a0b5d23e3f334ac76a2941 (diff)
downloadnextcloud-server-3cdadeb9e9c75b4e68a8c3c0d4825b0fae2a7854.tar.gz
nextcloud-server-3cdadeb9e9c75b4e68a8c3c0d4825b0fae2a7854.zip
Use dispatchTyped
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/lib/Controller/ViewController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index 015f34941de..70b878f43ad 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -284,7 +284,7 @@ class ViewController extends Controller {
$this->eventDispatcher->dispatch(LoadSidebar::class, new LoadSidebar());
// Load Viewer scripts
if (class_exists(LoadViewer::class)) {
- $this->eventDispatcher->dispatch(LoadViewer::class, new LoadViewer());
+ $this->eventDispatcher->dispatchTyped(new LoadViewer());
}
$params = [];