diff --git a/src/Types/Point.php b/src/Types/Point.php index d424ec5e..03efc998 100644 --- a/src/Types/Point.php +++ b/src/Types/Point.php @@ -92,6 +92,7 @@ public static function fromJson($geoJson) * * @return \GeoJson\Geometry\Point */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return new GeoJsonPoint([$this->getLng(), $this->getLat()]);