Allow MultiPolygon in GeomentryCollection #318
ci.yml
on: pull_request
Psalm
2m 33s
Matrix: PHPUnit GEOS
Matrix: PHPUnit MariaDB
Matrix: PHPUnit MySQL
Matrix: PHPUnit PostgreSQL
Matrix: PHPUnit SQLite
Annotations
4 errors
DocblockTypeContradiction:
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)
|
ArgumentTypeCoercion:
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)
|
UndefinedClass:
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)
|
Psalm
Process completed with exit code 2.
|