From 2fa525819971391e626c1ab1487ad14e30ef181b Mon Sep 17 00:00:00 2001 From: Charaf Rezrazi <2086576+Rezrazi@users.noreply.github.com> Date: Tue, 2 Apr 2024 07:29:49 +0000 Subject: [PATCH] feat(apps): allow extra parameters on listRepositories closes #1137 --- lib/Github/Api/Apps.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Github/Api/Apps.php b/lib/Github/Api/Apps.php index 15e1dfdcd4a..335f9cecf47 100644 --- a/lib/Github/Api/Apps.php +++ b/lib/Github/Api/Apps.php @@ -143,9 +143,8 @@ public function removeInstallation($installationId) * * @return array */ - public function listRepositories($userId = null) + public function listRepositories($userId = null, $parameters = []) { - $parameters = []; if ($userId) { $parameters['user_id'] = $userId; }