Skip to content

Commit 17f3aa2

Browse files
authored
update "min" and "max" rule comments (#51274)
add "or equal to" so the comment is accurate for the behavior of the method.
1 parent d52c640 commit 17f3aa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Validation/Concerns/ValidatesAttributes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ public function validateJson($attribute, $value)
14601460
}
14611461

14621462
/**
1463-
* Validate the size of an attribute is less than a maximum value.
1463+
* Validate the size of an attribute is less than or equal to a maximum value.
14641464
*
14651465
* @param string $attribute
14661466
* @param mixed $value
@@ -1566,7 +1566,7 @@ protected function shouldBlockPhpUpload($value, $parameters)
15661566
}
15671567

15681568
/**
1569-
* Validate the size of an attribute is greater than a minimum value.
1569+
* Validate the size of an attribute is greater than or equal to a minimum value.
15701570
*
15711571
* @param string $attribute
15721572
* @param mixed $value

0 commit comments

Comments
 (0)