mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -20,14 +20,8 @@ class Point implements JsonSerializable
|
||||
{
|
||||
public static string $SRID = '4326';
|
||||
|
||||
private ?float $lat;
|
||||
|
||||
private ?float $lon;
|
||||
|
||||
private function __construct(?float $lon, ?float $lat)
|
||||
private function __construct(private ?float $lon, private ?float $lat)
|
||||
{
|
||||
$this->lat = $lat;
|
||||
$this->lon = $lon;
|
||||
}
|
||||
|
||||
public static function fromArrayGeoJson(array $array): self
|
||||
|
Reference in New Issue
Block a user