NotificationModel refactoring

This commit is contained in:
Frederic Guillot
2016-07-23 14:50:59 -04:00
parent b6119e7dee
commit a823cc1d08
49 changed files with 494 additions and 232 deletions

View File

@@ -39,7 +39,7 @@ class SubtaskEventJob extends BaseJob
$event = SubtaskEventBuilder::getInstance($this->container)
->withSubtaskId($subtaskId)
->withValues($values)
->build();
->buildEvent();
if ($event !== null) {
$this->dispatcher->dispatch($eventName, $event);