Skip to content

Commit aad7900

Browse files
committed
fix phpstan error
1 parent 43edde6 commit aad7900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GeometryCast.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private function extractValuesFromExpression(ExpressionContract $expression, Con
9797
preg_match("/ST_GeomFromText\(\s*'([^']+)'\s*(?:,\s*(\d+))?\s*(?:,\s*'([^']+)')?\s*\)/", (string) $expressionValue, $matches);
9898

9999
return [
100-
'wkt' => $matches[1],
100+
'wkt' => $matches[1] ?? '',
101101
'srid' => (int) ($matches[2] ?? 0),
102102
];
103103
}

0 commit comments

Comments
 (0)