Commit 46199478 authored by Taylor Otwell's avatar Taylor Otwell

refactoring validation class.

parent 6c98f5fa
......@@ -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;
......
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