Skip to content

Commit dee51ee

Browse files
authored
Merge pull request #1185 from grimpirate/develop
docs: typo fix in method name
2 parents 918051a + 73df536 commit dee51ee

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)