aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-11 11:06:29 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-18 16:19:01 +0200
commitc3bc575d992c6816a89bb18734146c67ecdd17d2 (patch)
treeb66e160b98418b18c508ab6232b682bca26d9260 /apps/comments
parent705ccd50c566fdd7f484b5084e377169e60f7b6a (diff)
downloadnextcloud-server-c3bc575d992c6816a89bb18734146c67ecdd17d2.tar.gz
nextcloud-server-c3bc575d992c6816a89bb18734146c67ecdd17d2.zip
fix(comments): Emit CommentsEntityEvent as typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/lib/AppInfo/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/lib/AppInfo/Application.php b/apps/comments/lib/AppInfo/Application.php
index bfd66c43ecd..db147970a64 100644
--- a/apps/comments/lib/AppInfo/Application.php
+++ b/apps/comments/lib/AppInfo/Application.php
@@ -66,7 +66,7 @@ class Application extends App implements IBootstrap {
LoadSidebarScripts::class
);
$context->registerEventListener(
- CommentsEntityEvent::EVENT_ENTITY,
+ CommentsEntityEvent::class,
CommentsEntityEventListener::class
);
$context->registerSearchProvider(CommentsSearchProvider::class);