respect-validation/library
Tim Bond 020ea1ebb5
Update type parameters for Validator doc blocks
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>
2018-05-19 16:26:44 +02:00
..
Exceptions Update NestedValidationException doc block 2018-05-19 16:19:16 +02:00
Rules Update French subdivision codes 2018-05-19 16:18:28 +02:00
Factory.php Ensure namespace separator on appended prefixes 2016-04-23 21:20:54 -03:00
Validatable.php Use short array syntax 2015-10-17 22:56:32 -03:00
Validator.php Update type parameters for Validator doc blocks 2018-05-19 16:26:44 +02:00