mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 02:30:06 +02:00
The "@param" tag uses phpdoc types. However the "@method" tag uses PHP's type declarations. Therefore, "mixed" refers to a class whose literal name is mixed and not the "mixed" keyword. Since "mixed" is not a valid class name in this context, the type paramaters should be removed. Additionally, the "callable" type paramater can be used on the "callback" validation method. References: [1]: http://docs.phpdoc.org/references/phpdoc/tags/param.html [2]: http://docs.phpdoc.org/references/phpdoc/types.html [3]: http://docs.phpdoc.org/references/phpdoc/tags/method.html [4]: http://php.net/functions.arguments#functions.arguments.type-declaration [5]: http://docs.phpdoc.org/references/phpdoc/types.html Reviewed-by: Henrique Moody <henriquemoody@gmail.com> |
||
---|---|---|
.. | ||
Exceptions | ||
Rules | ||
Factory.php | ||
Validatable.php | ||
Validator.php |