Skip to content

Commit 9a3f006

Browse files
authored
Merge pull request #309 from datamweb/fix-syncPermissions-arg-type
docs: fix the way to use `syncPermissions()`
2 parents d2aff61 + 203fb21 commit 9a3f006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Updates the user's permissions to only include the permissions in the given list
144144
not in this list will be removed.
145145

146146
```php
147-
$user->syncPermissions(['admin.access', 'beta.access']);
147+
$user->syncPermissions('admin.access', 'beta.access');
148148
```
149149

150150
## Managing User Groups

0 commit comments

Comments
 (0)