Commit 9b8942fa authored by Taylor Otwell's avatar Taylor Otwell

fixed equality check in validator.

parent 081a3e51
......@@ -69,7 +69,7 @@ class Validator {
$rule->validate($this->attributes, $this->errors);
}
return count($this->errors->messages) === 0;
return count($this->errors->messages) == 0;
}
/**
......
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