@@ -359,47 +359,47 @@ public function checkSuites(): CheckSuites
359
359
*/
360
360
public function artifacts (): Artifacts
361
361
{
362
- return new Artifacts ($ this ->client );
362
+ return new Artifacts ($ this ->getClient () );
363
363
}
364
364
365
365
/**
366
366
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#workflows
367
367
*/
368
368
public function workflows (): Workflows
369
369
{
370
- return new Workflows ($ this ->client );
370
+ return new Workflows ($ this ->getClient () );
371
371
}
372
372
373
373
/**
374
374
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#workflow-runs
375
375
*/
376
376
public function workflowRuns (): WorkflowRuns
377
377
{
378
- return new WorkflowRuns ($ this ->client );
378
+ return new WorkflowRuns ($ this ->getClient () );
379
379
}
380
380
381
381
/**
382
382
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#workflow-jobs
383
383
*/
384
384
public function workflowJobs (): WorkflowJobs
385
385
{
386
- return new WorkflowJobs ($ this ->client );
386
+ return new WorkflowJobs ($ this ->getClient () );
387
387
}
388
388
389
389
/**
390
390
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#self-hosted-runners
391
391
*/
392
392
public function selfHostedRunners (): SelfHostedRunners
393
393
{
394
- return new SelfHostedRunners ($ this ->client );
394
+ return new SelfHostedRunners ($ this ->getClient () );
395
395
}
396
396
397
397
/**
398
398
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#secrets
399
399
*/
400
400
public function secrets (): Secrets
401
401
{
402
- return new Secrets ($ this ->client );
402
+ return new Secrets ($ this ->getClient () );
403
403
}
404
404
405
405
/**
0 commit comments