@@ -359,47 +359,47 @@ public function checkSuites(): CheckSuites
359359 */
360360 public function artifacts (): Artifacts
361361 {
362- return new Artifacts ($ this ->client );
362+ return new Artifacts ($ this ->getClient () );
363363 }
364364
365365 /**
366366 * @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#workflows
367367 */
368368 public function workflows (): Workflows
369369 {
370- return new Workflows ($ this ->client );
370+ return new Workflows ($ this ->getClient () );
371371 }
372372
373373 /**
374374 * @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#workflow-runs
375375 */
376376 public function workflowRuns (): WorkflowRuns
377377 {
378- return new WorkflowRuns ($ this ->client );
378+ return new WorkflowRuns ($ this ->getClient () );
379379 }
380380
381381 /**
382382 * @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#workflow-jobs
383383 */
384384 public function workflowJobs (): WorkflowJobs
385385 {
386- return new WorkflowJobs ($ this ->client );
386+ return new WorkflowJobs ($ this ->getClient () );
387387 }
388388
389389 /**
390390 * @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#self-hosted-runners
391391 */
392392 public function selfHostedRunners (): SelfHostedRunners
393393 {
394- return new SelfHostedRunners ($ this ->client );
394+ return new SelfHostedRunners ($ this ->getClient () );
395395 }
396396
397397 /**
398398 * @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#secrets
399399 */
400400 public function secrets (): Secrets
401401 {
402- return new Secrets ($ this ->client );
402+ return new Secrets ($ this ->getClient () );
403403 }
404404
405405 /**
0 commit comments