use correct typehint for callable

This commit is contained in:
Willem Wollebrants 2019-03-21 21:00:30 +01:00
parent c6893fc67e
commit dfde682d93

View File

@ -1229,7 +1229,7 @@ class Validator
/** /**
* Convenience method to add a single validation rule * Convenience method to add a single validation rule
* *
* @param string|callback $rule * @param string|callable $rule
* @param array|string $fields * @param array|string $fields
* @return Validator * @return Validator
* @throws \InvalidArgumentException * @throws \InvalidArgumentException