@@ -124,8 +124,8 @@ discard block |
||
| 124 | 124 | * @param int|null $srid Optional SRID (commonly 4326 for WGS84) |
| 125 | 125 | */ |
| 126 | 126 | public static function point( |
| 127 | - float|int|string $longitude, |
|
| 128 | - float|int|string $latitude, |
|
| 127 | + float | int | string $longitude, |
|
| 128 | + float | int | string $latitude, |
|
| 129 | 129 | ?int $srid = null |
| 130 | 130 | ): self { |
| 131 | 131 | return new self($srid, GeometryType::POINT, "$longitude $latitude"); |
@@ -140,9 +140,9 @@ discard block |
||
| 140 | 140 | * @param int|null $srid Optional SRID (commonly 4326 for WGS84) |
| 141 | 141 | */ |
| 142 | 142 | public static function point3d( |
| 143 | - float|int|string $longitude, |
|
| 144 | - float|int|string $latitude, |
|
| 145 | - float|int|string $elevation, |
|
| 143 | + float | int | string $longitude, |
|
| 144 | + float | int | string $latitude, |
|
| 145 | + float | int | string $elevation, |
|
| 146 | 146 | ?int $srid = null |
| 147 | 147 | ): self { |
| 148 | 148 | return new self($srid, GeometryType::POINT, "$longitude $latitude $elevation", DimensionalModifier::Z); |