Allow MultiPolygon in GeomentryCollection #318
Annotations
4 errors
Run Psalm:
src/IO/GeoJSONWriter.php#L198
src/IO/GeoJSONWriter.php:198:17: DocblockTypeContradiction: Cannot resolve types for $geometry - docblock-defined type Brick\Geo\Geometry does not contain GeometryCollection (see https://psalm.dev/155)
|
Run Psalm:
src/IO/GeoJSONWriter.php#L198
src/IO/GeoJSONWriter.php:198:33: ArgumentTypeCoercion: Argument 2 of is_a expects class-string, but parent type 'GeometryCollection' provided (see https://psalm.dev/193)
|
Run Psalm:
src/IO/GeoJSONWriter.php#L198
src/IO/GeoJSONWriter.php:198:33: UndefinedClass: Class, interface or enum named GeometryCollection does not exist (see https://psalm.dev/019)
|
Run Psalm
Process completed with exit code 2.
|
Loading