diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-03-06 15:44:42 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-03-11 09:28:27 +0100 |
commit | 3cdadeb9e9c75b4e68a8c3c0d4825b0fae2a7854 (patch) | |
tree | af790435e972e3d37fb3b0d1bf3df073ca071558 /apps | |
parent | 92a6530c0f8bf50e94a0b5d23e3f334ac76a2941 (diff) | |
download | nextcloud-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.php | 2 |
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 = []; |