Commit 46199478 authored by Taylor Otwell's avatar Taylor Otwell

refactoring validation class.

parent 6c98f5fa
...@@ -489,10 +489,7 @@ class Validator { ...@@ -489,10 +489,7 @@ class Validator {
{ {
list($rule, $parameters) = $this->parse($rule); list($rule, $parameters) = $this->parse($rule);
if (in_array($rule, $rules)) if (in_array($rule, $rules)) return true;
{
return true;
}
} }
return false; 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