Skip to content

Commit

Permalink
feat(apps): allow extra parameters on listRepositories
Browse files Browse the repository at this point in the history
closes #1137
  • Loading branch information
Rezrazi committed Apr 2, 2024
1 parent 71fec50 commit 36e74af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Github/Api/Apps.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ public function removeInstallation($installationId)
* @link https://developer.github.com/v3/apps/installations/#list-repositories
*
* @param int $userId
* @param array $parameters
*
* @return array
*/
public function listRepositories($userId = null)
public function listRepositories($userId = null, $parameters = [])
{
$parameters = [];
if ($userId) {
$parameters['user_id'] = $userId;
}
Expand Down

0 comments on commit 36e74af

Please sign in to comment.