From 3b8f5865a5eb789ec4723140a27b2878e8b6ed6c Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 3 Nov 2011 00:45:24 -0500 Subject: [PATCH] fix comment in validator. --- laravel/validation/validator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/laravel/validation/validator.php b/laravel/validation/validator.php index 6f21f9f9..51864e54 100644 --- a/laravel/validation/validator.php +++ b/laravel/validation/validator.php @@ -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))