refactoring validation class.

This commit is contained in:
Taylor Otwell
2011-08-06 20:51:39 -05:00
parent 6c98f5faee
commit 46199478d8

View File

@@ -489,10 +489,7 @@ class Validator {
{
list($rule, $parameters) = $this->parse($rule);
if (in_array($rule, $rules))
{
return true;
}
if (in_array($rule, $rules)) return true;
}
return false;