Skip to content

Commit

Permalink
Custom Rules section updated
Browse files Browse the repository at this point in the history
  • Loading branch information
s3b4stian committed Oct 4, 2018
1 parent cae81f1 commit c141990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ Custom Rule should have:
- At least one alias.

And for callback function:
- At least one parameter, rapresenting the received value.
- At least one argument, rapresenting the received value.
- Return type, bool or void.

> **Note:** For implementing a sanitize custom rule, closure must have only one argument passed for reference.
> **Note:** For implementing a sanitize custom rule, closure must have only one argument and this argument must be passed for reference.

0 comments on commit c141990

Please sign in to comment.