Skip to content

Commit 2ad87b6

Browse files
allanziNyholm
authored andcommitted
Fix syntax (#225)
1 parent 3449a8b commit 2ad87b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/doc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function indexAction(Request $request)
146146
->geocodeQuery(GeocodeQuery::create($request->server->get('REMOTE_ADDR')));
147147
148148
// Find the 5 nearest objects (15km) from the current user.
149-
$coords = $result->first()->getCoordinates();;
149+
$coords = $result->first()->getCoordinates();
150150
$objects = ObjectQuery::create()
151151
->filterByDistanceFrom($coords->getLatitude(), $coords->getLongitude(), 15)
152152
->limit(5)

0 commit comments

Comments
 (0)