Skip to content

Commit

Permalink
Fix invalid option name
Browse files Browse the repository at this point in the history
Additional options option should be named 'callbackOptions' instead of 'options'
  • Loading branch information
metalinspired committed Apr 28, 2020
1 parent 61160cc commit 3edd891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/validators/callback.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ validate a given value.
The following options are supported for `Laminas\Validator\Callback`:

- `callback`: Sets the callback which will be called for the validation.
- `options`: Sets the additional options which will be given to the validator
- `callbackOptions`: Sets the additional options which will be given to the validator
and/or callback.

## Basic usage
Expand Down

0 comments on commit 3edd891

Please sign in to comment.