Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien authored and StyleCIBot committed Dec 22, 2020
1 parent d3a385d commit 3eb0b1e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions UrbIS.php
Expand Up @@ -107,14 +107,14 @@ public function reverseQuery(ReverseQuery $query): Collection
$language = $query->getLocale() ?? '';

$jsonQuery = [
'language' => $language,
'point' => [
// x, y are switched in the API
'y' => $coordinates->getLongitude(),
'x' => $coordinates->getLatitude(),
],
'SRS_In' => 4326,
];
'language' => $language,
'point' => [
// x, y are switched in the API
'y' => $coordinates->getLongitude(),
'x' => $coordinates->getLatitude(),
],
'SRS_In' => 4326,
];

$url = sprintf(self::REVERSE_ENDPOINT_URL, urlencode(json_encode($jsonQuery)));
$json = $this->executeQuery($url);
Expand Down

0 comments on commit 3eb0b1e

Please sign in to comment.