We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480a0a1 commit 0330f41Copy full SHA for 0330f41
1 file changed
Validator/LengthValidator.php
@@ -42,7 +42,7 @@ private function getMin(AbstractBlock $block): int
42
43
$fieldAttributes = (array)$block->getFieldAttributes();
44
if (!empty($fieldAttributes[$possibleValue])) {
45
- return $fieldAttributes[$possibleValue];
+ return (int)$fieldAttributes[$possibleValue];
46
}
47
48
@@ -59,7 +59,7 @@ private function getMax(AbstractBlock $block): int
59
60
61
62
63
64
65
0 commit comments