Commit cffbcd01 authored by Taylor Otwell's avatar Taylor Otwell

changed continue to return in validation library.

parent 99ae26d0
...@@ -120,7 +120,7 @@ class Validator { ...@@ -120,7 +120,7 @@ class Validator {
// is "required" or "accepted". No other rules have implicit "required" checks. // is "required" or "accepted". No other rules have implicit "required" checks.
if ( ! array_key_exists($attribute, $this->attributes) and ! in_array($rule, array('required', 'accepted'))) if ( ! array_key_exists($attribute, $this->attributes) and ! in_array($rule, array('required', 'accepted')))
{ {
continue; return;
} }
if ( ! $this->$validator($attribute, $parameters)) if ( ! $this->$validator($attribute, $parameters))
......
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