Browse Source

cleaning up the validator.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
Taylor Otwell 12 years ago
parent
commit
c4594afce1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/validator.php

+ 1 - 1
laravel/validator.php

@@ -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.");
 	}
 	}
 
 
 }
 }