Skip to content

Commit 73df536

Browse files
authored
docs: typo fix in method name
1 parent 918051a commit 73df536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/references/authentication/tokens.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ permissions the token grants to the user. Scopes are provided when the token is
9090
cannot be modified afterword.
9191

9292
```php
93-
$token = $user->gererateAccessToken('Work Laptop', ['posts.manage', 'forums.manage']);
93+
$token = $user->generateAccessToken('Work Laptop', ['posts.manage', 'forums.manage']);
9494
```
9595

9696
By default a user is granted a wildcard scope which provides access to all scopes. This is the
9797
same as:
9898

9999
```php
100-
$token = $user->gererateAccessToken('Work Laptop', ['*']);
100+
$token = $user->generateAccessToken('Work Laptop', ['*']);
101101
```
102102

103103
During authentication, the token the user used is stored on the user. Once authenticated, you

0 commit comments

Comments
 (0)