Commit 17e9a07
authored
docs: Missing apostrophe
Missing apostrophe in getVar() method parameter
```php
$routes->get('/access/token', static function() {
$token = auth()->user()->generateAccessToken(service('request')->getVar('token_name));
return json_encode(['token' => $token->raw_token]);
});
```1 parent 3807340 commit 17e9a07
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments