Skip to content

Commit

Permalink
Update incorrect documentation
Browse files Browse the repository at this point in the history
The `find` method is no longer used and has been removed in the latest version.
  • Loading branch information
pheeque1 authored Mar 23, 2022
1 parent ad546e2 commit 3814613
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions doc/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ Wrap [GitHub User API](http://developer.github.com/v3/users/).

### Search for users by keyword

```php
$users = $client->api('user')->find('KnpLabs');
```

Returns an array of found users.
Use the [Search API](https://github.com/KnpLabs/php-github-api/blob/master/doc/search.md#search-users) to find users by keyword.

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

Expand Down

0 comments on commit 3814613

Please sign in to comment.