@@ -57,8 +57,8 @@ |
||
57 | 57 | foreach ($golfCoursesWithOutCoordinates as $golfCourse) { |
58 | 58 | $coordinates = GoogleCoordinatesService::getCoordinates($golfCourse->getName()); |
59 | 59 | if (!empty($coordinates)) { |
60 | - $golfCourse->setLatitude((string)$coordinates['latitude']); |
|
61 | - $golfCourse->setLongitude((string)$coordinates['longitude']); |
|
60 | + $golfCourse->setLatitude((string) $coordinates['latitude']); |
|
61 | + $golfCourse->setLongitude((string) $coordinates['longitude']); |
|
62 | 62 | $this->golfCourseRepository->update($golfCourse); |
63 | 63 | $this->golfCourseRepository->persistAll(); |
64 | 64 | } |