src/Geometries/Geometry.php
Method getWKTClass
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function getWKTClass($value)
{
$left = strpos($value, '(');
$type = trim(substr($value, 0, $left));
Avoid too many return
statements within this method. Open
Open
return MultiPolygon::class;
Avoid too many return
statements within this method. Open
Open
return MultiLineString::class;
Avoid too many return
statements within this method. Open
Open
return GeometryCollection::class;