@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function via($notifiable) |
| 30 | 30 | { |
| 31 | - return ['mail']; |
|
| 31 | + return [ 'mail' ]; |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /** |
@@ -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 | } |