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
10
10
* @link https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#list-self-hosted-runners-for-an-organization
11
11
*
12
12
* @param string $organization
13
- * @param string $type
14
- * @param int $page
13
+ * @param array $parameters
15
14
*
16
15
* @return array|string
17
16
*/
18
- public function all (string $ organization , string $ type = ' all ' , int $ page = 1 )
17
+ public function all (string $ organization , array $ parameters )
19
18
{
20
- $ parameters = [
21
- 'type ' => $ type ,
22
- 'page ' => $ page ,
23
- ];
24
-
25
19
return $ this ->get ('/orgs/ ' .rawurlencode ($ organization ).'/actions/runners ' , $ parameters );
26
20
}
27
21
You can’t perform that action at this time.
0 commit comments