Completed
Branch master (511c82)
by Vojta
03:10
created
Category
controllers/Banned.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
     {
25 25
         $throttleModel = Auth::createThrottleModel();
26 26
         $bannedCollection = $throttleModel->where('is_banned', true)->get();
27
-        $banned = [];
28
-        foreach($bannedCollection as $bannedItem) {
29
-            $banned[] = $bannedItem->user_id;
27
+        $banned = [ ];
28
+        foreach ($bannedCollection as $bannedItem) {
29
+            $banned[ ] = $bannedItem->user_id;
30 30
         }
31 31
 
32 32
         $query->whereIn('id', $banned);
Please login to merge, or discard this patch.
Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function boot()
10 10
     {
11
-        Event::listen('backend.menu.extendItems', function ($manager) {
11
+        Event::listen('backend.menu.extendItems', function($manager) {
12 12
             $manager->addSideMenuItems('RainLab.User', 'user', [
13 13
                 'banned' => [
14 14
                     'label' => 'vojtasvoboda.userbanned::lang.sidemenu.menu_label',
Please login to merge, or discard this patch.