mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
use correct typehint for callable
This commit is contained in:
parent
c6893fc67e
commit
dfde682d93
@ -1229,7 +1229,7 @@ class Validator
|
||||
/**
|
||||
* Convenience method to add a single validation rule
|
||||
*
|
||||
* @param string|callback $rule
|
||||
* @param string|callable $rule
|
||||
* @param array|string $fields
|
||||
* @return Validator
|
||||
* @throws \InvalidArgumentException
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user