File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
lib/Github/Api/Organization/Actions Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,12 @@ class SelfHostedRunners extends AbstractApi
1010 * @link https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#list-self-hosted-runners-for-an-organization
1111 *
1212 * @param string $organization
13- * @param string $type
14- * @param int $page
13+ * @param array $parameters
1514 *
1615 * @return array|string
1716 */
18- public function all (string $ organization , string $ type = ' all ' , int $ page = 1 )
17+ public function all (string $ organization , array $ parameters )
1918 {
20- $ parameters = [
21- 'type ' => $ type ,
22- 'page ' => $ page ,
23- ];
24-
2519 return $ this ->get ('/orgs/ ' .rawurlencode ($ organization ).'/actions/runners ' , $ parameters );
2620 }
2721
You can’t perform that action at this time.
0 commit comments