We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af276bc commit ab0752aCopy full SHA for ab0752a
doc/users.md
@@ -119,7 +119,7 @@ For authenticated user use.
119
> Requires [authentication](security.md).
120
121
```php
122
-$users = $client->api('current_user')->watched();
+$users = $client->api('current_user')->watchers()->all();
123
```
124
125
Returns an array of watched repos.
lib/Github/Api/CurrentUser.php
@@ -112,7 +112,10 @@ public function watchers()
112
{
113
return new Watchers($this->client);
114
}
115
-
+
116
+ /**
117
+ * @Deprecated
118
+ */
public function watched($page = 1)
return $this->get('user/watched', array(
0 commit comments