mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
fix incorrect phpdoc for callable
This commit is contained in:
parent
3c5463315b
commit
3908f086e0
@ -1147,7 +1147,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 $this
|
* @return $this
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user