Passed
Pull Request — main (#102)
by mohsen
02:41
created
src/Listeners/SendResourceLogNotification.php 1 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
-            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
 }
Please login to merge, or discard this patch.