diff options
| author | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:33 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:33 +0100 |
| commit | 13388b70c53952b6c1e637c38cb1b86d3b90c04e (patch) | |
| tree | e8915af7801331582f3cafa3a2031ab6e87cc7e8 /src | |
| parent | eb9aa22170ce921d2816db539dd865986f0ba6bc (diff) | |
make group return itself
Diffstat (limited to 'src')
| -rw-r--r-- | src/Group.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Group.php b/src/Group.php index 7d9db95..c9d2eb5 100644 --- a/src/Group.php +++ b/src/Group.php @@ -100,10 +100,12 @@ class Group } /** @param callable(GroupDefinition): void $cb */ - public function group(callable $cb): void + public function group(callable $cb): static { ($cb)(new GroupDefinition( $this )); + + return $this; } } |
