Skip to content
Permalink
Browse files

Fixed StyleCI Stage 1

  • Loading branch information...
nathan-fiscaletti committed Jul 18, 2018
1 parent 4844a70 commit 149c1b72842ad4ba26ee293a5807ef21583ac6d9
Showing with 5 additions and 3 deletions.
  1. +3 −1 src/IPStack/Legacy/FreeGeoIp.php
  2. +2 −2 src/IPStack/Location.php
@@ -69,6 +69,7 @@ public function getLocationFor(string $ip)
} catch (\Exception $e) {
throw $e;
}
return $ret;
}
@@ -85,6 +86,7 @@ public function getClientLocation()
if ($ip === false) {
throw new \Exception('Unable to find client IP address.');
}
return $this->getLocationFor($ip);
}
}
}
@@ -13,7 +13,7 @@ class Location extends ReadOnlyResAssocArr
*/
protected $fillable = [
// These properties are available on all
// These properties are available on all
// IPStack plans.
'ip',
'type',
@@ -44,6 +44,6 @@ class Location extends ReadOnlyResAssocArr
// These properties are used when you are
// using the legacy FreeGeoIp binary.
'zip_code',
'metro_code'
'metro_code',
];
}

0 comments on commit 149c1b7

Please sign in to comment.
You can’t perform that action at this time.