diff --git a/Classes/Geocoding/GeoCalculator.php b/Classes/Geocoding/GeoCalculator.php index d1fcd77d..1fb7d28f 100644 --- a/Classes/Geocoding/GeoCalculator.php +++ b/Classes/Geocoding/GeoCalculator.php @@ -63,7 +63,7 @@ public function calculateDistanceInKilometers(Geo $object1, Geo $object2): float return \acos( \sin($latitude1) * \sin($latitude2) - + \cos($latitude1) * \cos($latitude2) * \cos($longitude2 - $longitude1), + + \cos($latitude1) * \cos($latitude2) * \cos($longitude2 - $longitude1), ) * self::EARTH_RADIUS_IN_KILOMETERS; }