Skip to content

Commit 2d4dedf

Browse files
authored
Merge pull request #893 from php-api-clients/GitHub/from-1.1.4-71df6aeea9b73116fc9b87e18d680d1b-from-1.1.4-71df6aeea9b73116fc9b87e18d680d1b
2 parents 39edc7f + 10c03a8 commit 2d4dedf

File tree

356 files changed

+1772
-771
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

356 files changed

+1772
-771
lines changed

clients/GitHub/etc/openapi-client-generator.state

+393-361
Large diffs are not rendered by default.

clients/GitHub/src/Internal/Attribute/CastUnionToType/Schema/SecretScanningLocation/Details.php

+56
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,62 @@ public function cast(mixed $value, ObjectMapper $hydrator): mixed
5252
} catch (Throwable) {
5353
}
5454
}
55+
56+
if ($signature === 'discussion_title_url') {
57+
try {
58+
return $hydrator->hydrateObject(Schema\SecretScanningLocationDiscussionTitle::class, $value);
59+
} catch (Throwable) {
60+
}
61+
}
62+
63+
if ($signature === 'discussion_body_url') {
64+
try {
65+
return $hydrator->hydrateObject(Schema\SecretScanningLocationDiscussionBody::class, $value);
66+
} catch (Throwable) {
67+
}
68+
}
69+
70+
if ($signature === 'discussion_comment_url') {
71+
try {
72+
return $hydrator->hydrateObject(Schema\SecretScanningLocationDiscussionComment::class, $value);
73+
} catch (Throwable) {
74+
}
75+
}
76+
77+
if ($signature === 'pull_request_title_url') {
78+
try {
79+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestTitle::class, $value);
80+
} catch (Throwable) {
81+
}
82+
}
83+
84+
if ($signature === 'pull_request_body_url') {
85+
try {
86+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestBody::class, $value);
87+
} catch (Throwable) {
88+
}
89+
}
90+
91+
if ($signature === 'pull_request_comment_url') {
92+
try {
93+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestComment::class, $value);
94+
} catch (Throwable) {
95+
}
96+
}
97+
98+
if ($signature === 'pull_request_review_url') {
99+
try {
100+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestReview::class, $value);
101+
} catch (Throwable) {
102+
}
103+
}
104+
105+
if ($signature === 'pull_request_review_comment_url') {
106+
try {
107+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestReviewComment::class, $value);
108+
} catch (Throwable) {
109+
}
110+
}
55111
}
56112

57113
return $value;

clients/GitHub/src/Internal/Hydrator/Operation/Meta.php

+26
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ApiO
351351
$properties['packages'] = $value;
352352

353353
after_packages:
354+
355+
$value = $payload['actions'] ?? null;
356+
357+
if ($value === null) {
358+
$properties['actions'] = null;
359+
goto after_actions;
360+
}
361+
362+
$properties['actions'] = $value;
363+
364+
after_actions:
354365
} catch (Throwable $exception) {
355366
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\ApiOverview\Domains', $exception, stack: $this->hydrationStack);
356367
}
@@ -761,6 +772,21 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
761772
$packages = $packagesSerializer0->serialize($packages, $this);
762773
after_packages: $result['packages'] = $packages;
763774

775+
$actions = $object->actions;
776+
777+
if ($actions === null) {
778+
goto after_actions;
779+
}
780+
781+
static $actionsSerializer0;
782+
783+
if ($actionsSerializer0 === null) {
784+
$actionsSerializer0 = new SerializeArrayItems(...[]);
785+
}
786+
787+
$actions = $actionsSerializer0->serialize($actions, $this);
788+
after_actions: $result['actions'] = $actions;
789+
764790
return $result;
765791
}
766792

clients/GitHub/src/Internal/Hydrator/WebHook/SecretScanningAlertLocation.php

+8
Original file line numberDiff line numberDiff line change
@@ -4518,6 +4518,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
45184518
'ApiClients\Client\GitHub\Schema\SecretScanningLocationIssueTitle' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationIssueTitle($details),
45194519
'ApiClients\Client\GitHub\Schema\SecretScanningLocationIssueBody' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationIssueBody($details),
45204520
'ApiClients\Client\GitHub\Schema\SecretScanningLocationIssueComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationIssueComment($details),
4521+
'ApiClients\Client\GitHub\Schema\SecretScanningLocationDiscussionTitle' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationDiscussionTitle($details),
4522+
'ApiClients\Client\GitHub\Schema\SecretScanningLocationDiscussionBody' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationDiscussionBody($details),
4523+
'ApiClients\Client\GitHub\Schema\SecretScanningLocationDiscussionComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationDiscussionComment($details),
4524+
'ApiClients\Client\GitHub\Schema\SecretScanningLocationPullRequestTitle' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationPullRequestTitle($details),
4525+
'ApiClients\Client\GitHub\Schema\SecretScanningLocationPullRequestBody' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationPullRequestBody($details),
4526+
'ApiClients\Client\GitHub\Schema\SecretScanningLocationPullRequestComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationPullRequestComment($details),
4527+
'ApiClients\Client\GitHub\Schema\SecretScanningLocationPullRequestReview' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationPullRequestReview($details),
4528+
'ApiClients\Client\GitHub\Schema\SecretScanningLocationPullRequestReviewComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SecretScanningLocationPullRequestReviewComment($details),
45214529
};
45224530
after_details: $result['details'] = $details;
45234531

clients/GitHub/src/Internal/Operator/Actions/CreateEnvironmentVariable.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(int $repositoryId, string $environmentName, array $params): EmptyObject
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\CreateEnvironmentVariable($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName);

clients/GitHub/src/Internal/Operator/Actions/CreateOrUpdateEnvironmentSecret.php

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(int $repositoryId, string $environmentName, string $secretName, array $params): EmptyObject|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\CreateOrUpdateEnvironmentSecret($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $secretName);

clients/GitHub/src/Internal/Operator/Actions/DeleteEnvironmentSecret.php

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2222
{
2323
}
2424

25+
/** @return */
2526
public function call(int $repositoryId, string $environmentName, string $secretName): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\DeleteEnvironmentSecret($repositoryId, $environmentName, $secretName);

clients/GitHub/src/Internal/Operator/Actions/DeleteEnvironmentVariable.php

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2222
{
2323
}
2424

25+
/** @return */
2526
public function call(int $repositoryId, string $name, string $environmentName): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\DeleteEnvironmentVariable($repositoryId, $name, $environmentName);

clients/GitHub/src/Internal/Operator/Actions/GetEnvironmentPublicKey.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(int $repositoryId, string $environmentName): ActionsPublicKey
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\GetEnvironmentPublicKey($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName);

clients/GitHub/src/Internal/Operator/Actions/GetEnvironmentSecret.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(int $repositoryId, string $environmentName, string $secretName): ActionsSecret
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\GetEnvironmentSecret($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $secretName);

clients/GitHub/src/Internal/Operator/Actions/GetEnvironmentVariable.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(int $repositoryId, string $environmentName, string $name): ActionsVariable
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\GetEnvironmentVariable($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $name);

clients/GitHub/src/Internal/Operator/Actions/ListEnvironmentSecrets.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(int $repositoryId, string $environmentName, int $perPage = 30, int $page = 1): Json
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\ListEnvironmentSecrets($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $perPage, $page);

clients/GitHub/src/Internal/Operator/Actions/ListEnvironmentVariables.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(int $repositoryId, string $environmentName, int $perPage = 10, int $page = 1): Json
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\ListEnvironmentVariables($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $perPage, $page);

clients/GitHub/src/Internal/Operator/Actions/UpdateEnvironmentVariable.php

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2323
{
2424
}
2525

26+
/** @return */
2627
public function call(int $repositoryId, string $name, string $environmentName, array $params): WithoutBody
2728
{
2829
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Actions\UpdateEnvironmentVariable($this->requestSchemaValidator, $repositoryId, $name, $environmentName);

clients/GitHub/src/Internal/Operator/Repos/CreateDeploymentBranchPolicy.php

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(string $owner, string $repo, string $environmentName, array $params): DeploymentBranchPolicy|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\CreateDeploymentBranchPolicy($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName);

clients/GitHub/src/Internal/Operator/Repos/CreateDeploymentProtectionRule.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $environmentName, string $repo, string $owner, array $params): DeploymentProtectionRule
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\CreateDeploymentProtectionRule($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $environmentName, $repo, $owner);

clients/GitHub/src/Internal/Operator/Repos/CreateForAuthenticatedUser.php

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(array $params): FullRepository|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\CreateForAuthenticatedUser($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator);

clients/GitHub/src/Internal/Operator/Repos/CreateInOrg.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $org, array $params): FullRepository
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\CreateInOrg($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org);

clients/GitHub/src/Internal/Operator/Repos/CreateOrUpdateEnvironment.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, string $environmentName, array $params): Environment
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\CreateOrUpdateEnvironment($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName);

clients/GitHub/src/Internal/Operator/Repos/CreateUsingTemplate.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $templateOwner, string $templateRepo, array $params): FullRepository
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\CreateUsingTemplate($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $templateOwner, $templateRepo);

clients/GitHub/src/Internal/Operator/Repos/DeleteAnEnvironment.php

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2222
{
2323
}
2424

25+
/** @return */
2526
public function call(string $owner, string $repo, string $environmentName): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\DeleteAnEnvironment($owner, $repo, $environmentName);

clients/GitHub/src/Internal/Operator/Repos/DeleteDeploymentBranchPolicy.php

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2222
{
2323
}
2424

25+
/** @return */
2526
public function call(string $owner, string $repo, string $environmentName, int $branchPolicyId): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\DeleteDeploymentBranchPolicy($owner, $repo, $environmentName, $branchPolicyId);

clients/GitHub/src/Internal/Operator/Repos/DisableDeploymentProtectionRule.php

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2222
{
2323
}
2424

25+
/** @return */
2526
public function call(string $environmentName, string $repo, string $owner, int $protectionRuleId): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\DisableDeploymentProtectionRule($environmentName, $repo, $owner, $protectionRuleId);

clients/GitHub/src/Internal/Operator/Repos/GetAllDeploymentProtectionRules.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $environmentName, string $repo, string $owner): Ok
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetAllDeploymentProtectionRules($this->responseSchemaValidator, $this->hydrator, $environmentName, $repo, $owner);

clients/GitHub/src/Internal/Operator/Repos/GetCustomDeploymentProtectionRule.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, string $environmentName, int $protectionRuleId): DeploymentProtectionRule
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetCustomDeploymentProtectionRule($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName, $protectionRuleId);

clients/GitHub/src/Internal/Operator/Repos/GetDeploymentBranchPolicy.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, string $environmentName, int $branchPolicyId): DeploymentBranchPolicy
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetDeploymentBranchPolicy($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName, $branchPolicyId);

clients/GitHub/src/Internal/Operator/Repos/GetEnvironment.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, string $environmentName): Environment
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetEnvironment($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName);

clients/GitHub/src/Internal/Operator/Repos/ListCustomDeploymentRuleIntegrations.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $environmentName, string $repo, string $owner, int $page = 1, int $perPage = 30): Ok
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\ListCustomDeploymentRuleIntegrations($this->responseSchemaValidator, $this->hydrator, $environmentName, $repo, $owner, $page, $perPage);

clients/GitHub/src/Internal/Operator/Repos/ListDeploymentBranchPolicies.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, string $environmentName, int $perPage = 30, int $page = 1): Ok
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\ListDeploymentBranchPolicies($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName, $perPage, $page);

clients/GitHub/src/Internal/Operator/Repos/UpdateDeploymentBranchPolicy.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, string $environmentName, int $branchPolicyId, array $params): DeploymentBranchPolicy
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\UpdateDeploymentBranchPolicy($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName, $branchPolicyId);

clients/GitHub/src/Internal/Operator/SecurityAdvisories/CreateFork.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, string $ghsaId): FullRepository
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\SecurityAdvisories\CreateFork($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $ghsaId);

clients/GitHub/src/Internal/Router/Delete/Actions.php

+2
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ public function deleteRepoVariable(array $params): WithoutBody
226226
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['name']);
227227
}
228228

229+
/** @return */
229230
public function deleteEnvironmentSecret(array $params): WithoutBody
230231
{
231232
$arguments = [];
@@ -252,6 +253,7 @@ public function deleteEnvironmentSecret(array $params): WithoutBody
252253
return $operator->call($arguments['repository_id'], $arguments['environment_name'], $arguments['secret_name']);
253254
}
254255

256+
/** @return */
255257
public function deleteEnvironmentVariable(array $params): WithoutBody
256258
{
257259
$arguments = [];

clients/GitHub/src/Internal/Router/Delete/Eight.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct(private Routers $routers)
1818
{
1919
}
2020

21-
/** @return |\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Observable<Schema\Label>|Schema\BasicError */
21+
/** @return |Observable<Schema\Label>|Schema\BasicError */
2222
public function call(string $call, array $params, array $pathChunks): Ok|WithoutBody|Json|iterable|BasicError|PullRequestReview
2323
{
2424
if ($pathChunks[0] === '') {

clients/GitHub/src/Internal/Router/Delete/Repos.php

+3
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ public function deleteDeployment(array $params): WithoutBody
379379
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['deployment_id']);
380380
}
381381

382+
/** @return */
382383
public function deleteAnEnvironment(array $params): WithoutBody
383384
{
384385
$arguments = [];
@@ -675,6 +676,7 @@ public function deleteAccessRestrictions(array $params): WithoutBody
675676
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['branch']);
676677
}
677678

679+
/** @return */
678680
public function deleteDeploymentBranchPolicy(array $params): WithoutBody
679681
{
680682
$arguments = [];
@@ -707,6 +709,7 @@ public function deleteDeploymentBranchPolicy(array $params): WithoutBody
707709
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['environment_name'], $arguments['branch_policy_id']);
708710
}
709711

712+
/** @return */
710713
public function disableDeploymentProtectionRule(array $params): WithoutBody
711714
{
712715
$arguments = [];

0 commit comments

Comments
 (0)