We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2abb23e + 436a5e6 commit 0b3ecf0Copy full SHA for 0b3ecf0
1 file changed
docs/authorization.md
@@ -175,5 +175,5 @@ Updates the user's groups to only include the groups in the given list. Any exis
175
not in this list will be removed.
176
177
```php
178
-$user->syncGroups(['admin', 'beta']);
+$user->syncGroups('admin', 'beta');
179
```
0 commit comments