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

@@ -36,7 +36,7 @@ class ProjectFileEventJob extends BaseJob
{
$event = ProjectFileEventBuilder::getInstance($this->container)
->withFileId($fileId)
->build();
->buildEvent();
if ($event !== null) {
$this->dispatcher->dispatch($eventName, $event);