We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64522b3 commit 810a063Copy full SHA for 810a063
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