Test Failed
Pull Request — main (#348)
by
unknown
28:13 queued 13:11
created
src/MartinGeorgiev/Doctrine/DBAL/Types/ValueObject/Point.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     {
52 52
         $stringValue = (string) $value;
53 53
 
54
-        if (!\preg_match('/^-?\d+(?:\.\d{1,' . self::MAX_DECIMAL_PLACES . '})?$/', $stringValue)) {
54
+        if (!\preg_match('/^-?\d+(?:\.\d{1,'.self::MAX_DECIMAL_PLACES.'})?$/', $stringValue)) {
55 55
             throw new \InvalidArgumentException(
56 56
                 \sprintf('%s coordinate must not exceed %d decimal places. Given: %s', 
57 57
                     ucfirst($name), 
Please login to merge, or discard this patch.