@@ -62,7 +62,7 @@ |
||
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(); |
@@ -82,7 +82,7 @@ |
||
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 | } |
@@ -41,6 +41,6 @@ |
||
41 | 41 | */ |
42 | 42 | public function provides() |
43 | 43 | { |
44 | - return ['geo-location']; |
|
44 | + return [ 'geo-location' ]; |
|
45 | 45 | } |
46 | 46 | } |