Browse Source

Correct wording.

euromark 11 years ago
parent
commit
e65cfcd284
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/Validation/Validator.php

+ 2 - 4
src/Validation/Validator.php

@@ -319,8 +319,7 @@ class Validator implements \ArrayAccess, \IteratorAggregate, \Countable {
  *
  * @param string $field the name of the field
  * @param bool|string $mode Valid values are true, false, 'create', 'update'
- * @param string $message The validation message to show if the field presence
- * is required.
+ * @param string $message The message to show if the field presence validation fails.
  * @return Validator this instance
  */
 	public function requirePresence($field, $mode = true, $message = null) {
@@ -338,8 +337,7 @@ class Validator implements \ArrayAccess, \IteratorAggregate, \Countable {
  *
  * @param string $field the name of the field
  * @param bool|string $mode Valid values are true, false, 'create', 'update'
- * @param string $message The validation message to show if the field presence
- * is required.
+ * @param string $message The message to show if the field presence validation fails.
  * @return Validator this instance
  * @deprecated 3.0.0 Will be removed in 3.0.0.
  */