Skip to content

Commit

Permalink
State deprecation version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jan 6, 2019
1 parent ce2bcdd commit 27a58b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Validation/Validator.php
Expand Up @@ -684,7 +684,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.
*
* @deprecated Use allowEmptyString(), allowEmptyArray(), allowEmptyFile(),
* @deprecated 3.7.0 Use allowEmptyString(), allowEmptyArray(), allowEmptyFile(),
* allowEmptyDate(), allowEmptyTime() or allowEmptyDateTime() instead.
* @param string|array $field the name of the field or a list of fields
* @param bool|string|callable $when Indicates when the field is allowed to be empty
Expand Down Expand Up @@ -987,7 +987,7 @@ protected function _convertValidatorToArray($fieldName, $defaults = [], $setting
* Because this and `allowEmpty()` modify the same internal state, the last
* method called will take precedence.
*
* @deprecated Use allowEmptyString(), allowEmptyArray(), allowEmptyFile(),
* @deprecated 3.7.0 Use allowEmptyString(), allowEmptyArray(), allowEmptyFile(),
* allowEmptyDate(), allowEmptyTime() or allowEmptyDateTime() with reversed
* conditions instead.
* @param string|array $field the name of the field or list of fields
Expand Down Expand Up @@ -2315,7 +2315,7 @@ protected function _canBeEmpty($field, $context)
*
* @param mixed $data Value to check against.
* @return bool
* @deprecated Use isEmpty() instead
* @deprecated 3.7.0 Use isEmpty() instead
*/
protected function _fieldIsEmpty($data)
{
Expand Down

0 comments on commit 27a58b3

Please sign in to comment.