Skip to content

Commit 0b3ecf0

Browse files
authored
Merge pull request #278 from kenjis/fix-docs-syncGroups
docs: update out-of-dated sample code for `syncGroups()`
2 parents 2abb23e + 436a5e6 commit 0b3ecf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,5 @@ Updates the user's groups to only include the groups in the given list. Any exis
175175
not in this list will be removed.
176176

177177
```php
178-
$user->syncGroups(['admin', 'beta']);
178+
$user->syncGroups('admin', 'beta');
179179
```

0 commit comments

Comments
 (0)