Skip to content

Commit c6cd043

Browse files
authored
Fix coordinate order for setBounds in LocationIQ.php
1 parent d8ac0a5 commit c6cd043

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Provider/LocationIQ/LocationIQ.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private function xmlResultToArray(\DOMElement $resultNode, \DOMElement $addressN
154154
if ($boundsAttr) {
155155
$bounds = [];
156156
list($bounds['south'], $bounds['north'], $bounds['west'], $bounds['east']) = explode(',', $boundsAttr);
157-
$builder->setBounds((float) $bounds['south'], (float) $bounds['north'], (float) $bounds['west'], (float) $bounds['east']);
157+
$builder->setBounds((float) $bounds['south'], (float) $bounds['west'], (float) $bounds['north'], (float) $bounds['east']);
158158
}
159159

160160
return $builder->build();

0 commit comments

Comments
 (0)