Skip to content

Commit

Permalink
spell out latitude and logitude in response
Browse files Browse the repository at this point in the history
  • Loading branch information
j4nr6n committed Nov 3, 2014
1 parent 597562a commit 4f10449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/library/GeoIP/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4f10449

Please sign in to comment.