Skip to content

Commit c0c004c

Browse files
authored
Merge branch 'main' into ci-checkstyling-on-prs
2 parents 5bcac73 + 62cbce8 commit c0c004c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/IO/Parser/Geojson/GeojsonParser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ public function parse($input): Geometry
3333
'MultiPolygon' => $this->parseMultiPolygon($input['coordinates']),
3434
'Point' => $this->parsePoint($input['coordinates']),
3535
'Polygon' => $this->parsePolygon($input['coordinates']),
36-
'GeometryCollection' => $this->parseGeomeryCollection($input),
36+
'GeometryCollection' => $this->parseGeometryCollection($input),
3737
'FeatureCollection' => throw new \RuntimeException('Invalid GeoJSON: The type FeatureCollection is not supported'),
3838
default => throw new \RuntimeException("Invalid GeoJSON: Invalid GeoJSON type $type"),
3939
};
4040
}
4141

42-
protected function parseGeomeryCollection(array $geometryCollectionData): Geometry
42+
protected function parseGeometryCollection(array $geometryCollectionData): Geometry
4343
{
4444
$geometries = $geometryCollectionData['geometries'];
4545
$geometries = array_map(fn (array $geometry) => $this->parse($geometry), $geometries);

0 commit comments

Comments
 (0)