Skip to content

Commit

Permalink
docs: few changes for coherence
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepimpao committed Jul 12, 2024
1 parent 770c1d9 commit 41a2a32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/03-rules_blank.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type: `?callable` default: `null`

Allows to define a `callable` that will be applied to the value before checking if it is valid.

For example, use `trim`, or pass your own function, to not allow a string with whitespaces only:
For example, use `trim`, or pass your own function, to allow a string with whitespaces only:

```php
Validator::blank(normalizer: 'trim')->validate(' '); // true
Expand Down
2 changes: 1 addition & 1 deletion docs/03-rules_not-blank.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NotBlank

Validates that a value is not equal to a blank string, blank array, `false` or `null`.
Validates that a value is not equal to an empty string, empty array, `false` or `null`.

Check the [Blank](03-rules_blank.md) rule for the opposite validation.

Expand Down

0 comments on commit 41a2a32

Please sign in to comment.