Fix some nulls and the notifications on the handlers

This commit is contained in:
Joseph Cohen
2015-11-22 00:18:09 -06:00
parent 24d09ccefd
commit a593dabeb9
4 changed files with 8 additions and 4 deletions
@@ -56,6 +56,8 @@ class ReportMaintenanceCommandHandler
'visible' => 1,
]);
$maintenanceEvent->notify = (bool) $command->notify;
event(new MaintenanceWasScheduledEvent($maintenanceEvent));
return $maintenanceEvent;