Skip to content

Commit a54aecb

Browse files
Fixed bad merge
1 parent e39e78c commit a54aecb

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/Github/Api/Organization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function teams()
107107
*/
108108
public function secrets(): Secrets
109109
{
110-
return new Secrets($this->client);
110+
return new Secrets($this->getClient());
111111
}
112112

113113
/**

lib/Github/Api/Repo.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)