@@ -24,7 +24,7 @@ |
||
24 | 24 | { |
25 | 25 | $throttleModel = Auth::createThrottleModel(); |
26 | 26 | $bannedCollection = $throttleModel->where('is_banned', true)->get()->map(function($item){ |
27 | - return $item->user_id; |
|
27 | + return $item->user_id; |
|
28 | 28 | }); |
29 | 29 | $query->whereIn('id', $bannedCollection); |
30 | 30 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | public function listExtendQuery($query) |
24 | 24 | { |
25 | 25 | $throttleModel = Auth::createThrottleModel(); |
26 | - $bannedCollection = $throttleModel->where('is_banned', true)->get()->map(function($item){ |
|
26 | + $bannedCollection = $throttleModel->where('is_banned', true)->get()->map(function($item) { |
|
27 | 27 | return $item->user_id; |
28 | 28 | }); |
29 | 29 | $query->whereIn('id', $bannedCollection); |