File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments