Passed
Push — dev5a ( c2cba2...4ce5a4 )
by Ron
07:44
created
app/Domains/TechTips/SetTechTips.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -139,8 +139,7 @@  discard block
 block discarded – undo
139 139
         {
140 140
             if(isset($equip['laravel_through_key']))
141 141
             {
142
-                $current = $current->filter(function($item) use ($equip)
143
-                {
142
+                $current = $current->filter(function($item) use ($equip) {
144 143
                     return $item->sys_id != $equip['sys_id'];
145 144
                 });
146 145
             }
@@ -216,8 +215,7 @@  discard block
 block discarded – undo
216 215
     //  Send a notification of the new/edited tech tip
217 216
     protected function sendNotification($tip, $edit = false)
218 217
     {
219
-        $users = User::whereHas('UserSettings', function($q)
220
-        {
218
+        $users = User::whereHas('UserSettings', function($q) {
221 219
             $q->where('em_tech_tip', true);
222 220
         })->get();
223 221
 
Please login to merge, or discard this patch.