fix comment in validator.
This commit is contained in:
parent
23fcf35804
commit
3b8f5865a5
|
@ -531,9 +531,9 @@ protected function message($attribute, $rule)
|
|||
return $this->messages[$rule];
|
||||
}
|
||||
|
||||
// If the rule being validated is a "size" rule and the attribute is not
|
||||
// a number, we will need to gather the specific size message for the
|
||||
// type of attribute being validated, either a file or a string.
|
||||
// If the rule being validated is a "size" rule, we will need to gather
|
||||
// the specific size message for the type of attribute being validated,
|
||||
// either a number, file, or string.
|
||||
elseif (in_array($rule, $this->size_rules))
|
||||
{
|
||||
if ($this->has_rule($attribute, $this->numeric_rules))
|
||||
|
|
Loading…
Reference in New Issue