Passed
Push — master ( 5601e2...87f519 )
by Ger
03:13
created
src/GeoLocation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $driver = config('geo-location.driver');
63 63
 
64 64
         if (!class_exists($driver)) {
65
-            throw new DriverDoesNotExistException('The geo-location driver ' .  $driver . ' does not exist.');
65
+            throw new DriverDoesNotExistException('The geo-location driver ' . $driver . ' does not exist.');
66 66
         }
67 67
 
68 68
         return new $driver();
Please login to merge, or discard this patch.
src/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     {
83 83
         $data = $this->toArray();
84 84
 
85
-        unset($data['ip']);
85
+        unset($data[ 'ip' ]);
86 86
 
87 87
         return empty(array_filter($data));
88 88
     }
Please login to merge, or discard this patch.
src/GeoLocationServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,6 +41,6 @@
 block discarded – undo
41 41
      */
42 42
     public function provides()
43 43
     {
44
-        return ['geo-location'];
44
+        return [ 'geo-location' ];
45 45
     }
46 46
 }
Please login to merge, or discard this patch.