Completed
Pull Request — master (#1)
by
unknown
02:05
created
controllers/Banned.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.