chore: Add comment about deprecation

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan 2026-05-04 13:25:36 +02:00 committed by Anna
parent 13f57e073e
commit 4a48172af8

View file

@ -39,6 +39,7 @@ class CommentsEventListener implements IEventListener {
|| $event instanceof CommentUpdatedEvent
|| $event instanceof CommentDeletedEvent
|| $event instanceof BeforeCommentUpdatedEvent) {
// Dispatch the deprecated event name for backward compatibility
$this->eventDispatcher->dispatchTyped(new CommentsEvent($event->getEvent(), $event->getComment()));
}