From 38146135651a9ed8c98778648849894799e842e4 Mon Sep 17 00:00:00 2001 From: Rafik Abdulwahab <97947131+pheeque1@users.noreply.github.com> Date: Wed, 23 Mar 2022 15:47:15 +0100 Subject: [PATCH] Update incorrect documentation The `find` method is no longer used and has been removed in the latest version. --- doc/users.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/users.md b/doc/users.md index 5bac98a7d16..dbc6a6bb302 100644 --- a/doc/users.md +++ b/doc/users.md @@ -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