NotificationModel refactoring
This commit is contained in:
@@ -37,7 +37,7 @@ class CommentEventJob extends BaseJob
|
||||
{
|
||||
$event = CommentEventBuilder::getInstance($this->container)
|
||||
->withCommentId($commentId)
|
||||
->build();
|
||||
->buildEvent();
|
||||
|
||||
if ($event !== null) {
|
||||
$this->dispatcher->dispatch($eventName, $event);
|
||||
|
||||
Reference in New Issue
Block a user