Skip to content
Permalink
Browse files

docBlock update

  • Loading branch information...
Graziel committed May 9, 2016
1 parent 4178a46 commit fd64ba46716675bc51ffd4d547a0d016c12cec86
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Validation/Validator.php
@@ -440,7 +440,7 @@ public function remove($field, $rule = null)
* You can also set mode and message for all passed fields, the individual
* setting takes precedence over group settings.
*
* @param string|array $field the name of the field
* @param string|array $field the name of the field or list of fields
* @param bool|string|callable $mode Valid values are true, false, 'create', 'update'.
* If a callable is passed then the field will be required only when the callback
* returns true.
@@ -514,7 +514,7 @@ public function requirePresence($field, $mode = true, $message = null)
* Because this and `notEmpty()` modify the same internal state, the last
* method called will take precedence.
*
* @param string $field the name of the field
* @param string|array $field the name of the field or list of fields
* @param bool|string|callable $when Indicates when the field is allowed to be empty
* Valid values are true (always), 'create', 'update'. If a callable is passed then
* the field will allowed to be empty only when the callback returns true.
@@ -610,7 +610,7 @@ protected function _convertValidatorToArray($fieldName, $settingKeys = [], $sett
* Because this and `allowEmpty()` modify the same internal state, the last
* method called will take precedence.
*
* @param string $field the name of the field
* @param string|array $field the name of the field or list of fields
* @param string|null $message The message to show if the field is not
* @param bool|string|callable $when Indicates when the field is not allowed
* to be empty. Valid values are true (always), 'create', 'update'. If a

0 comments on commit fd64ba4

Please sign in to comment.
You can’t perform that action at this time.