Skip to content

Commit e851bd0

Browse files
Don't use deprecated auth in example
1 parent 1884306 commit e851bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/currentuser/repositories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ There are three values that can be passed into the `repositories` method: `type`
2525

2626
```php
2727
$client = new \Github\Client();
28-
$client->authenticate($github_token, null, \Github\Client::AUTH_HTTP_TOKEN);
28+
$client->authenticate($github_token, null, \Github\Client::AUTH_ACCESS_TOKEN);
2929
$client->currentUser()->repositories();
3030
```

0 commit comments

Comments
 (0)