Passed
Push — main ( 7cd568...83c63f )
by mohsen
04:26 queued 01:49
created
src/Listeners/SendResourceLogNotification.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     public function handle($resourceLogs)
11 11
     {
12
-        if(!is_null(config('stethoscope.notifications.mail.to')))
12
+        if (!is_null(config('stethoscope.notifications.mail.to')))
13 13
             Mail::to(config('stethoscope.notifications.mail.to'))->send(new LogReportMail($resourceLogs));
14 14
     }
15 15
 }
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,8 @@
 block discarded – undo
9 9
 {
10 10
     public function handle($resourceLogs)
11 11
     {
12
-        if(!is_null(config('stethoscope.notifications.mail.to')))
13
-            Mail::to(config('stethoscope.notifications.mail.to'))->send(new LogReportMail($resourceLogs));
12
+        if(!is_null(config('stethoscope.notifications.mail.to'))) {
13
+                    Mail::to(config('stethoscope.notifications.mail.to'))->send(new LogReportMail($resourceLogs));
14
+        }
14 15
     }
15 16
 }
Please login to merge, or discard this patch.