Passed
Push — dev6 ( c88035...50a53d )
by Ron
17:16
created
app/Listeners/NotifyOfNewComment.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,11 +29,9 @@
 block discarded – undo
29 29
     public function handle(NewTipCommentEvent $event)
30 30
     {
31 31
         $notificationType = UserSettingType::where('name', 'Receive Email Notifications')->first();
32
-        $userList = User::whereHas('UserSetting', function($q) use ($notificationType)
33
-        {
32
+        $userList = User::whereHas('UserSetting', function($q) use ($notificationType) {
34 33
             $q->where('setting_type_id', $notificationType->setting_type_id)->where('value', true);
35
-        })->whereHas('TechTipBookmark', function($q) use ($event)
36
-        {
34
+        })->whereHas('TechTipBookmark', function($q) use ($event) {
37 35
             $q->where('tip_id', $event->tip_id);
38 36
         })->get();
39 37
 
Please login to merge, or discard this patch.