Skip to content

Commit 203fb21

Browse files
committed
docs: fix param type for syncPermissions()
1 parent d2aff61 commit 203fb21

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)