cleaning up the validator.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
@@ -996,7 +996,7 @@ class Validator {
|
||||
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.");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user