cleaning up the validator.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell 2012-03-03 15:12:30 -06:00
parent c433815fdf
commit c4594afce1
1 changed files with 1 additions and 1 deletions

View File

@ -996,7 +996,7 @@ public function __call($method, $parameters)
return call_user_func_array(static::$validators[$method], $parameters);
}
throw new \Exception("Call to undefined method [$method] on Validator instance.");
throw new \Exception("Method [$method] does not exist.");
}
}