Skip to content

Commit 36857be

Browse files
committed
Fix macro example
1 parent ee22b47 commit 36857be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ Attribute::macro('rules', function ($rules) use ($validator) {
346346
$fail((string) $validation->messages());
347347
}
348348
});
349+
350+
return $this;
349351
});
350352
```
351353

0 commit comments

Comments
 (0)