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

View File

@@ -996,7 +996,7 @@ class Validator {
return call_user_func_array(static::$validators[$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.");
} }
} }