Passed
Push — master ( 616725...543f0f )
by Malte
03:41
created
src/GeoIP.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
             if($output == false) {
92 92
                 sleep(1);
93
-            }else{
93
+            } else{
94 94
                 return json_decode($output, true);
95 95
             }
96 96
 
Please login to merge, or discard this patch.
src/RemoteAddress.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -240,8 +240,9 @@
 block discarded – undo
240 240
         } else {
241 241
             $myisp = $isp[1].'.'.$isp[0];
242 242
         }
243
-        if (preg_match("/[0-9]{1,3}\.[0-9]{1,3}/", $myisp))
244
-            return null;
243
+        if (preg_match("/[0-9]{1,3}\.[0-9]{1,3}/", $myisp)) {
244
+                    return null;
245
+        }
245 246
 
246 247
         $isp = explode('.', $myisp);
247 248
         return $isp[0];
Please login to merge, or discard this patch.