Skip to content

Commit e8dd361

Browse files
authored
Make sure we show both coordinates (#143)
1 parent 7bab7f9 commit e8dd361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataCollector/ProfilingProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private function logQuery($query, float $duration, Collection $result = null)
7777
if ($query instanceof GeocodeQuery) {
7878
$queryString = $query->getText();
7979
} elseif ($query instanceof ReverseQuery) {
80-
$queryString = sprintf('(%s, %s)', $query->getCoordinates()->getLongitude(), $query->getCoordinates()->getLongitude());
80+
$queryString = sprintf('(%s, %s)', $query->getCoordinates()->getLongitude(), $query->getCoordinates()->getLatitude());
8181
} else {
8282
throw new LogicException('First parameter to ProfilingProvider::logQuery must be a query');
8383
}

0 commit comments

Comments
 (0)