|
@@ -16,7 +16,7 @@ |
|
|
block discarded – undo |
|
16
|
16
|
*/ |
|
17
|
17
|
public static function createForGeoJsonFeatureGeometry(array $featureGeometry): ?GeometryObject |
|
18
|
18
|
{ |
|
19
|
|
- return match ($featureGeometry['type']) { |
|
|
19
|
+ return match($featureGeometry['type']) { |
|
20
|
20
|
'LineString' => self::createForLineStringCoordinates($featureGeometry['coordinates']), |
|
21
|
21
|
'MultiLineString' => self::createForMultiLineStringCoordinates($featureGeometry['coordinates']), |
|
22
|
22
|
'MultiPoint' => self::createForMultiPointCoordinates($featureGeometry['coordinates']), |
Please login to merge, or discard this patch.