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.
2 parents 64522b3 + 810a063 commit 126306cCopy full SHA for 126306c
src/Rules/Traits/SizeTrait.php
@@ -16,7 +16,7 @@ trait SizeTrait
16
protected function getValueSize($value)
17
{
18
if ($this->getAttribute()
19
- && $this->getAttribute()->hasRule('numeric')
+ && ($this->getAttribute()->hasRule('numeric') || $this->getAttribute()->hasRule('integer'))
20
&& is_numeric($value)
21
) {
22
$value = (float) $value;
0 commit comments