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 5534e25 commit c520754Copy full SHA for c520754
lib/Github/Api/User.php
@@ -240,17 +240,10 @@ public function publicEvents($username)
240
*
241
* @link https://docs.github.com/en/rest/reference/activity#list-events-for-the-authenticated-user
242
243
- * @param string $username
244
- * @param int $page the page number of the paginated result set
245
- * @param int $perPage the number of results per page
246
- *
247
* @return array
248
*/
249
- public function events($username, $page = 1, $perPage = 30)
+ public function events(string $username)
250
{
251
- return $this->get('/users/'.rawurlencode($username).'/events', [
252
- 'page' => $page,
253
- 'per_page' => $perPage,
254
- ]);
+ return $this->get('/users/'.rawurlencode($username).'/events');
255
}
256
0 commit comments