Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 498f1a9

Browse files
committed
chore: small README improvement
1 parent e183b35 commit 498f1a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ use ProgrammatorDev\YetAnotherPhpValidator\Validator;
3131
// Do this...
3232
$validator = Validator::notBlank()->greaterThanOrEqual(18);
3333

34-
// ...or this...
34+
// Or this...
3535
$validator = new Validator(
3636
new Rule\NotBlank(),
3737
new Rule\GreaterThanOrEqual(18)
3838
);
3939

40-
// ...and validate with these:
40+
// Validate with these:
4141
$validator->validate(16); // returns bool: false
4242
$validator->assert(16, 'Age'); // throws exception: The "Age" value should be greater than or equal to "18", "16" given.
4343
```

0 commit comments

Comments
 (0)