From 4f1044968d1b6e666251381aee16cef1096204cc Mon Sep 17 00:00:00 2001 From: "justin.reherman" Date: Sun, 2 Nov 2014 19:05:42 -0500 Subject: [PATCH] spell out latitude and logitude in response --- src/library/GeoIP/Adapter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/GeoIP/Adapter.php b/src/library/GeoIP/Adapter.php index 3c880ba..e74fa7c 100644 --- a/src/library/GeoIP/Adapter.php +++ b/src/library/GeoIP/Adapter.php @@ -45,8 +45,8 @@ public function findByIp($ip) $data['cityName'] = $record->city->name; $data['postalCode'] = $record->postal->code; $data['metroCode'] = $record->location->metroCode; - $data['lat'] = $record->location->latitude; - $data['lon'] = $record->location->longitude; + $data['latitude'] = $record->location->latitude; + $data['longitude'] = $record->location->longitude; $data['timeZone'] = $record->location->timeZone; $data['query']['ip'] = $ip; return $data;