Skip to content

Commit

Permalink
minor #1058 Update incorrect documentation (pheeque1)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.4.x-dev branch.

Discussion
----------

The `find` method is no longer used and has been removed in the latest version.

Commits
-------

3814613 Update incorrect documentation
  • Loading branch information
acrobat committed Mar 24, 2022
2 parents 4f7d08d + 3814613 commit f0bda20
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 f0bda20

Please sign in to comment.