File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,16 @@ Returns an array of followed users.
113113$users = $client->api('user')->watched('ornicar');
114114```
115115
116+ For authenticated user use.
117+
118+ > Requires [ authentication] ( security.md ) .
119+
120+ ``` php
121+ $users = $client->api('current_user')->watched();
122+ ```
123+
124+ Returns an array of watched repos.
125+
116126### Get repos that a specific user has starred
117127
118128``` php
@@ -124,10 +134,10 @@ For authenticated user use.
124134> Requires [ authentication] ( security.md ) .
125135
126136``` php
127- $users = $client->api('current_user')->watched ();
137+ $users = $client->api('current_user')->starred()->all ();
128138```
129139
130- Returns an array of watched repos.
140+ Returns an array of starred repos.
131141
132142### Get the authenticated user emails
133143
You can’t perform that action at this time.
0 commit comments