Fix some nulls and the notifications on the handlers
This commit is contained in:
@@ -56,6 +56,8 @@ class ReportMaintenanceCommandHandler
|
||||
'visible' => 1,
|
||||
]);
|
||||
|
||||
$maintenanceEvent->notify = (bool) $command->notify;
|
||||
|
||||
event(new MaintenanceWasScheduledEvent($maintenanceEvent));
|
||||
|
||||
return $maintenanceEvent;
|
||||
|
||||
Reference in New Issue
Block a user