Skip to content

Commit

Permalink
Note that Validation::notEmpty() is to be avoided.
Browse files Browse the repository at this point in the history
Refs #5856
  • Loading branch information
markstory committed Feb 15, 2015
1 parent 7610bc2 commit 2091c68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Validation/Validation.php
Expand Up @@ -52,6 +52,10 @@ class Validation
* $check can be passed as an array:
* ['check' => 'valueToCheck'];
*
* It is recommended to *not* use this method, and instead use Validator::allowEmpty()
* & Validator::notEmpty() instead. This method is only provided for
* backwards compatibility.
*
* @param string|array $check Value to check
* @return bool Success
*/
Expand Down

0 comments on commit 2091c68

Please sign in to comment.