Skip to content

Commit f0effe2

Browse files
committed
Merge pull request #113 from joetech/issue-42-array-needed
issue 42 - default find param to an empty array
2 parents b06e01c + dc2b09c commit f0effe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/Repo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Repo extends AbstractApi
3333
*
3434
* @return array list of found repositories
3535
*/
36-
public function find($keyword, array $params)
36+
public function find($keyword, array $params = array())
3737
{
3838
return $this->get('legacy/repos/search/'.rawurlencode($keyword), array_merge(array('start_page' => 1), $params));
3939
}

0 commit comments

Comments
 (0)