Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 4231f6e

Browse files
committed
Merge pull request #238 from alamaby/patch-1
Update validator-chains.md
2 parents 91ff0ce + 8aba05e commit 4231f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/validator-chains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ written as follows, then the alphanumeric validation would not occur if the
4343
string length validation fails:
4444

4545
```php
46-
$chain->attach(new StringLength(['min' => 6, 'max' => 12], true));
46+
$chain->attach(new StringLength(['min' => 6, 'max' => 12]), true);
4747
$chain->attach(new Alnum());
4848
```
4949

0 commit comments

Comments
 (0)