Commit 2289570c authored by Taylor Otwell's avatar Taylor Otwell

fixed exception message in validation/rule.

parent 8770d0ae
...@@ -57,7 +57,7 @@ abstract class Rule { ...@@ -57,7 +57,7 @@ abstract class Rule {
{ {
if (is_null($this->message)) if (is_null($this->message))
{ {
throw new \Exception("An error message must be specified for every Eloquent validation rule."); throw new \Exception("An error message must be specified for every validation rule.");
} }
$message = $this->message; $message = $this->message;
......
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