Browse Source

Update Validator.php

Validator::add() - Typo in doc block
Guillermo Mansilla 11 years ago
parent
commit
c8a8773d62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Validation/Validator.php

+ 1 - 1
src/Validation/Validator.php

@@ -248,7 +248,7 @@ class Validator implements \ArrayAccess, \IteratorAggregate, \Countable {
  *		));
  * }}}
  *
- * @param string $field The name of the field from wich the rule will be removed
+ * @param string $field The name of the field from which the rule will be removed
  * @param array|string $name The alias for a single rule or multiple rules array
  * @param array|\Cake\Validation\ValidationRule $rule the rule to add
  * @return Validator this instance