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.
2 parents 3e756d1 + 52394dc commit 7cef5abCopy full SHA for 7cef5ab
lib/Github/Api/CurrentUser/Starring.php
@@ -6,6 +6,7 @@
6
7
/**
8
* @link https://developer.github.com/v3/activity/starring/
9
+ *
10
* @author Felipe Valtl de Mello <eu@felipe.im>
11
*/
12
class Starring extends AbstractApi
@@ -16,13 +17,15 @@ class Starring extends AbstractApi
16
17
18
*
19
* @param int $page
20
+ * @param int $perPage
21
22
* @return array
23
- public function all($page = 1)
24
+ public function all($page = 1, $perPage = 30)
25
{
26
return $this->get('/user/starred', array(
- 'page' => $page
27
+ 'page' => $page,
28
+ 'per_page' => $perPage,
29
));
30
}
31
0 commit comments