@@ -9,7 +9,8 @@ |
||
| 9 | 9 | { |
| 10 | 10 | public function handle($resourceLogs) |
| 11 | 11 | { |
| 12 | - if (!is_null(config('stethoscope.notifications.mail.to'))) |
|
| 13 | - Notification::send(config('stethoscope.notifications.mail.to'), new LogReportNotification($resourceLogs)); |
|
| 12 | + if (!is_null(config('stethoscope.notifications.mail.to'))) { |
|
| 13 | + Notification::send(config('stethoscope.notifications.mail.to'), new LogReportNotification($resourceLogs)); |
|
| 14 | + } |
|
| 14 | 15 | } |
| 15 | 16 | } |