From c4594afce132fdb38dbb8fb75ab76212fa329c67 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 3 Mar 2012 15:12:30 -0600 Subject: [PATCH] cleaning up the validator. Signed-off-by: Taylor Otwell --- laravel/validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/validator.php b/laravel/validator.php index 4c8cfcd4..d74ccf46 100644 --- a/laravel/validator.php +++ b/laravel/validator.php @@ -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."); } } \ No newline at end of file