Commit 3b8f5865 by Taylor Otwell

fix comment in validator.

parent 23fcf358
...@@ -531,9 +531,9 @@ class Validator { ...@@ -531,9 +531,9 @@ class Validator {
return $this->messages[$rule]; return $this->messages[$rule];
} }
// If the rule being validated is a "size" rule and the attribute is not // If the rule being validated is a "size" rule, we will need to gather
// a number, we will need to gather the specific size message for the // the specific size message for the type of attribute being validated,
// type of attribute being validated, either a file or a string. // either a number, file, or string.
elseif (in_array($rule, $this->size_rules)) elseif (in_array($rule, $this->size_rules))
{ {
if ($this->has_rule($attribute, $this->numeric_rules)) if ($this->has_rule($attribute, $this->numeric_rules))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment