Skip to content

Commit

Permalink
update "min" and "max" rule comments (#51274)
Browse files Browse the repository at this point in the history
add "or equal to" so the comment is accurate for the behavior of the method.
  • Loading branch information
browner12 authored May 3, 2024
1 parent d52c640 commit 17f3aa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Validation/Concerns/ValidatesAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ public function validateJson($attribute, $value)
}

/**
* Validate the size of an attribute is less than a maximum value.
* Validate the size of an attribute is less than or equal to a maximum value.
*
* @param string $attribute
* @param mixed $value
Expand Down Expand Up @@ -1566,7 +1566,7 @@ protected function shouldBlockPhpUpload($value, $parameters)
}

/**
* Validate the size of an attribute is greater than a minimum value.
* Validate the size of an attribute is greater than or equal to a minimum value.
*
* @param string $attribute
* @param mixed $value
Expand Down

0 comments on commit 17f3aa2

Please sign in to comment.