Skip to content

Commit 3814613

Browse files
authored
Update incorrect documentation
The `find` method is no longer used and has been removed in the latest version.
1 parent ad546e2 commit 3814613

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

doc/users.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ Wrap [GitHub User API](http://developer.github.com/v3/users/).
66

77
### Search for users by keyword
88

9-
```php
10-
$users = $client->api('user')->find('KnpLabs');
11-
```
12-
13-
Returns an array of found users.
9+
Use the [Search API](https://github.com/KnpLabs/php-github-api/blob/master/doc/search.md#search-users) to find users by keyword.
1410

1511
### Lists all users, in the order they signed up, since the last user you've seen
1612

0 commit comments

Comments
 (0)