Passed
Branch master (24f597)
by Hayri Can
01:53
created
src/Http/Controllers/IpCheckerController.php 1 patch
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     {
20 20
         if (config('ipchecker.settings.auth')) {
21 21
             $this->middleware(['web','auth']);
22
-        }else{
22
+        } else{
23 23
             if(config('ipchecker.settings.middleware')){
24 24
                 $this->middleware(config('ipchecker.settings.middleware'));
25 25
             }
@@ -38,8 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         if(count($iplist)>0){
40 40
             $iplist = $iplist->sortByDesc('created_at');
41
-        }
42
-        else{
41
+        } else{
43 42
             $iplist = [];
44 43
         }
45 44
 
Please login to merge, or discard this patch.