File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,23 +6,23 @@ Wraps [GitHub User Public Keys API](https://developer.github.com/v3/users/keys/#
66### List your public keys
77
88``` php
9- $keys = $client->user ()->keys()->all();
9+ $keys = $client->me ()->keys()->all();
1010```
1111
1212Returns a list of public keys for the authenticated user.
1313
1414### Shows a public key for the authenticated user.
1515
1616``` php
17- $key = $client->user ()->keys()->show(1234);
17+ $key = $client->me ()->keys()->show(1234);
1818```
1919
2020### Add a public key to the authenticated user.
2121
2222> Requires [ authentication] ( ../security.md ) .
2323
2424``` php
25- $key = $client->user ()->keys()->create(array('title' => 'key title', 'key' => 12345));
25+ $key = $client->me ()->keys()->create(array('title' => 'key title', 'key' => 12345));
2626```
2727
2828Adds a key with title 'key title' to the authenticated user and returns a the created key for the user.
@@ -32,5 +32,5 @@ Adds a key with title 'key title' to the authenticated user and returns a the cr
3232> Requires [ authentication] ( ../security.md ) .
3333
3434``` php
35- $client->user ()->keys()->remove(12345);
35+ $client->me ()->keys()->remove(12345);
3636```
You can’t perform that action at this time.
0 commit comments