@@ -139,8 +139,7 @@ discard block |
||
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 |
||
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 |