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 1406c44 commit 3fbf0ddCopy full SHA for 3fbf0dd
lib/Github/Api/PullRequest.php
100644
100755
@@ -25,7 +25,11 @@ class PullRequest extends AbstractApi
25
*/
26
public function all($username, $repository, array $params = array())
27
{
28
- return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/pulls', $params );
+ $parameters = array_merge(array(
29
+ 'page' => 1,
30
+ 'per_page' => 30
31
+ ), $params);
32
+ return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/pulls', $parameters);
33
}
34
35
/**
0 commit comments