Skip to content

Commit

Permalink
Fix eg. code in docblock.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Oct 27, 2014
1 parent 5243b0d commit 6e6250d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validation/Validator.php
Expand Up @@ -362,7 +362,7 @@ public function allowEmpty($field, $when = true) {
* $message = 'This field cannot be empty';
* $validator->notEmpty('email'); // Email cannot be empty
* $validator->notEmpty('email', $message, 'create'); // Email can be empty on update
* $validator->notEmpty('email', $message, update); // Email can be empty on create
* $validator->notEmpty('email', $message, 'update'); // Email can be empty on create
* }}}
*
* It is possible to conditionally disallow emptiness on a field by passing a callback
Expand Down

0 comments on commit 6e6250d

Please sign in to comment.