Browse Source

Merge pull request #5751 from ADmad/3.0

Fix docblock
Mark S. 11 years ago
parent
commit
052e2e5630
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Validation/Validator.php

+ 1 - 1
src/Validation/Validator.php

@@ -354,7 +354,7 @@ class Validator implements \ArrayAccess, \IteratorAggregate, \Countable
      * ### Example:
      *
      * ```
-     * $validator->allowEmpty('email'); // Email cannot be empty
+     * $validator->allowEmpty('email'); // Email can be empty
      * $validator->allowEmpty('email', 'create'); // Email can be empty on create
      * $validator->allowEmpty('email', 'update'); // Email can be empty on update
      * ```