Skip to content

Commit 6767152

Browse files
authored
[GitHubEnterpriseCloud] Update to 1.1.4-cdf1c4b4a04721843e9a87a8283dcc3a from 1.1.4-5f29eba51427afad3ceb08ba3f41b5b5
Detected Schema changes: starting work. Building original model for commit 350647 {"time":"2024-01-27T10:17:25.41404789Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-actions.yaml","error":"open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory"} {"time":"2024-01-27T10:17:25.414165881Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-packages.yaml","error":"open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory"} {"time":"2024-01-27T10:17:28.049642667Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-actions.yaml","error":"open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory"} {"time":"2024-01-27T10:17:28.049742403Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-packages.yaml","error":"open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory"} SPEC: extracted 1 commits from history DONE: completed WARNING: warnings reported during processing ⚠️ Error thrown when comparing: component 'server-statistics-actions.yaml' does not exist in the specification SUCCESS: No changes detected
1 parent c554be9 commit 6767152

File tree

12 files changed

+32
-24
lines changed

12 files changed

+32
-24
lines changed

etc/openapi-client-generator.state

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "5f29eba51427afad3ceb08ba3f41b5b5",
2+
"specHash": "cdf1c4b4a04721843e9a87a8283dcc3a",
33
"generatedFiles": {
44
"files": [
55
{
@@ -6180,7 +6180,7 @@
61806180
},
61816181
{
61826182
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php",
6183-
"hash": "83b07082c89a318fa997d2c43d02a7c6"
6183+
"hash": "6f32667c0ac712b37366def057197046"
61846184
},
61856185
{
61866186
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -23680,7 +23680,7 @@
2368023680
},
2368123681
{
2368223682
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/CreatePagesDeployment.php",
23683-
"hash": "6942b54e41d280f5252c1e9c96b99619"
23683+
"hash": "01525825ba627de2ab5a30653c32a59b"
2368423684
},
2368523685
{
2368623686
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/CreatePagesDeploymentTest.php",
@@ -28044,7 +28044,7 @@
2804428044
},
2804528045
{
2804628046
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
28047-
"hash": "eef2242b9d07ee291a278e25fd660b0b"
28047+
"hash": "98f4e9dac45eec3487365bef137e7e25"
2804828048
},
2804928049
{
2805028050
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php",
@@ -28164,7 +28164,7 @@
2816428164
},
2816528165
{
2816628166
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Repos.php",
28167-
"hash": "2b5efa6bcb3e0ae4e8a4fcb235ffde97"
28167+
"hash": "800127e79acbd6f06bbc9755d0c98a95"
2816828168
},
2816928169
{
2817028170
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Teams.php",
@@ -28604,7 +28604,7 @@
2860428604
},
2860528605
{
2860628606
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
28607-
"hash": "e0c7eb5474072dd5baf17b3752c24e47"
28607+
"hash": "ac63e9577604dcfe690eb7c049a04f16"
2860828608
},
2860928609
{
2861028610
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php",
@@ -28624,7 +28624,7 @@
2862428624
},
2862528625
{
2862628626
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php",
28627-
"hash": "c66487ab1bc8f2a7dc52a8a03566a363"
28627+
"hash": "f5bdc1fd58a6a287d20dad78b10549dc"
2862828628
},
2862928629
{
2863028630
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Five.php",
@@ -28644,7 +28644,7 @@
2864428644
},
2864528645
{
2864628646
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Eight.php",
28647-
"hash": "4c5675127dc2a438009b5430650b2236"
28647+
"hash": "0b8f79abf00d1f2ae247470fe68343b9"
2864828648
},
2864928649
{
2865028650
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Nine.php",
@@ -31884,11 +31884,11 @@
3188431884
},
3188531885
{
3188631886
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
31887-
"hash": "1a22e933e527bee46edb7ccb7991cd10"
31887+
"hash": "8d4c6bba384c321e1c471455261dea31"
3188831888
},
3188931889
{
3189031890
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
31891-
"hash": "d4e7bb3a83dad5aade9397d3ab4e6826"
31891+
"hash": "6fd5cfe80262fa8052a8d91247518f70"
3189231892
},
3189331893
{
3189431894
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -32784,7 +32784,7 @@
3278432784
},
3278532785
{
3278632786
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetPagesDeployment.php",
32787-
"hash": "6996428249c9153931899c572626c3cd"
32787+
"hash": "fdbfce4e04be62154db1e28404f7976f"
3278832788
},
3278932789
{
3279032790
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetPagesDeploymentTest.php",
@@ -32796,7 +32796,7 @@
3279632796
},
3279732797
{
3279832798
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/CancelPagesDeployment.php",
32799-
"hash": "a54cab1b43b37f8c48a427d5b425cb48"
32799+
"hash": "6e10a2d8c585ed11f2042939d55fbdb4"
3280032800
},
3280132801
{
3280232802
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/CancelPagesDeploymentTest.php",
@@ -32828,19 +32828,19 @@
3282832828
"files": [
3282932829
{
3283032830
"name": "composer.json",
32831-
"hash": "555eac8d1b238820aeae5d99e8b76a0a"
32831+
"hash": "7d3180732e075fdd950bf5e7bda7a62f"
3283232832
},
3283332833
{
3283432834
"name": "composer.lock",
32835-
"hash": "ff3ac9007f0e6dbc762cb2586d0ad6f4"
32835+
"hash": "1e9ac2406d058be88b1f639b6342ae4e"
3283632836
},
3283732837
{
3283832838
"name": "..\/..\/composer.json",
3283932839
"hash": "8ff5e6674b21c6d5911a80ddad28224b"
3284032840
},
3284132841
{
3284232842
"name": "..\/..\/composer.lock",
32843-
"hash": "2053e003d7d52bf507d9f14ca944cc3f"
32843+
"hash": "896c1363277f60ac64a6288682a2713a"
3284432844
}
3284532845
]
3284632846
}

src/Internal/Operator/Repos/CancelPagesDeployment.php

Lines changed: 1 addition & 0 deletions
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, $pagesDeploymentId): WithoutBody
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\CancelPagesDeployment($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $pagesDeploymentId);

src/Internal/Operator/Repos/CreatePagesDeployment.php

Lines changed: 1 addition & 0 deletions
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, array $params): PageDeployment
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\CreatePagesDeployment($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo);

src/Internal/Operator/Repos/GetPagesDeployment.php

Lines changed: 1 addition & 0 deletions
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, $pagesDeploymentId): PagesDeploymentStatus
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\GetPagesDeployment($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $pagesDeploymentId);

src/Internal/Router/Get/Repos.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2544,6 +2544,7 @@ public function getPagesBuild(array $params): PageBuild
25442544
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['build_id']);
25452545
}
25462546

2547+
/** @return */
25472548
public function getPagesDeployment(array $params): PagesDeploymentStatus
25482549
{
25492550
$arguments = [];

src/Internal/Router/Get/Seven.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function __construct(private Routers $routers)
6565
{
6666
}
6767

68-
/** @return |Observable<Schema\PackageVersion>|Observable<Schema\RunnerApplication>|Observable<Schema\CheckAnnotation>|Observable<Schema\CodeScanningCodeqlDatabase>|Observable<Schema\Reaction>|Observable<Schema\BranchShort>|Observable<Schema\CommitComment>|Observable<Schema\PullRequestSimple>|Observable<Schema\Status>|Schema\BasicError|Observable<Schema\DependencyGraphDiff>|Observable<Schema\DeploymentStatus>|Observable<Schema\GitRef>|Observable<Schema\HookDeliveryItem>|Observable<Schema\IssueComment>|Observable<Schema\LabeledIssueEvent|Schema\UnlabeledIssueEvent|Schema\AssignedIssueEvent|Schema\UnassignedIssueEvent|Schema\MilestonedIssueEvent|Schema\DemilestonedIssueEvent|Schema\RenamedIssueEvent|Schema\ReviewRequestedIssueEvent|Schema\ReviewRequestRemovedIssueEvent|Schema\ReviewDismissedIssueEvent|Schema\LockedIssueEvent|Schema\AddedToProjectIssueEvent|Schema\MovedColumnInProjectIssueEvent|Schema\RemovedFromProjectIssueEvent|Schema\ConvertedNoteToIssueIssueEvent>|Observable<Schema\Label>|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Schema\PagesDeploymentStatus|Observable<Schema\PullRequestReviewComment>|Observable<Schema\Commit>|Observable<Schema\DiffEntry>|Observable<Schema\PullRequestReview>|Observable<Schema\ReleaseAsset>|Observable<Schema\RepositoryRuleCreation|Schema\RepositoryRuleUpdate|Schema\RepositoryRuleDeletion|Schema\RepositoryRuleRequiredLinearHistory|Schema\RepositoryRuleRequiredDeployments|Schema\RepositoryRuleRequiredSignatures|Schema\RepositoryRulePullRequest|Schema\RepositoryRuleRequiredStatusChecks|Schema\RepositoryRuleNonFastForward|Schema\RepositoryRuleCommitMessagePattern|Schema\RepositoryRuleCommitAuthorEmailPattern|Schema\RepositoryRuleCommitterEmailPattern|Schema\RepositoryRuleBranchNamePattern|Schema\RepositoryRuleTagNamePattern|Schema\RepositoryRuleWorkflows>|Observable<Schema\ContentTraffic>|Observable<Schema\ReferrerTraffic> */
68+
/** @return |Observable<Schema\PackageVersion>|Observable<Schema\RunnerApplication>|Observable<Schema\CheckAnnotation>|Observable<Schema\CodeScanningCodeqlDatabase>|Observable<Schema\Reaction>|Observable<Schema\BranchShort>|Observable<Schema\CommitComment>|Observable<Schema\PullRequestSimple>|Observable<Schema\Status>|Schema\BasicError|Observable<Schema\DependencyGraphDiff>|Observable<Schema\DeploymentStatus>|Observable<Schema\GitRef>|Observable<Schema\HookDeliveryItem>|Observable<Schema\IssueComment>|Observable<Schema\LabeledIssueEvent|Schema\UnlabeledIssueEvent|Schema\AssignedIssueEvent|Schema\UnassignedIssueEvent|Schema\MilestonedIssueEvent|Schema\DemilestonedIssueEvent|Schema\RenamedIssueEvent|Schema\ReviewRequestedIssueEvent|Schema\ReviewRequestRemovedIssueEvent|Schema\ReviewDismissedIssueEvent|Schema\LockedIssueEvent|Schema\AddedToProjectIssueEvent|Schema\MovedColumnInProjectIssueEvent|Schema\RemovedFromProjectIssueEvent|Schema\ConvertedNoteToIssueIssueEvent>|Observable<Schema\Label>|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\Commit>|Observable<Schema\DiffEntry>|Observable<Schema\PullRequestReview>|Observable<Schema\ReleaseAsset>|Observable<Schema\RepositoryRuleCreation|Schema\RepositoryRuleUpdate|Schema\RepositoryRuleDeletion|Schema\RepositoryRuleRequiredLinearHistory|Schema\RepositoryRuleRequiredDeployments|Schema\RepositoryRuleRequiredSignatures|Schema\RepositoryRulePullRequest|Schema\RepositoryRuleRequiredStatusChecks|Schema\RepositoryRuleNonFastForward|Schema\RepositoryRuleCommitMessagePattern|Schema\RepositoryRuleCommitAuthorEmailPattern|Schema\RepositoryRuleCommitterEmailPattern|Schema\RepositoryRuleBranchNamePattern|Schema\RepositoryRuleTagNamePattern|Schema\RepositoryRuleWorkflows>|Observable<Schema\ContentTraffic>|Observable<Schema\ReferrerTraffic> */
6969
public function call(string $call, array $params, array $pathChunks): Json|Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListLabelsForSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok|OidcCustomSub|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoAccessToSelfHostedRunnerGroupInOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersInGroupForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|HookDelivery|iterable|TeamDiscussion|TeamMembership|TeamProject|GroupMapping|Artifact|ActionsCacheUsageByRepository|Job|ActionsWorkflowAccessToRepository|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|WorkflowRun|ActionsPublicKey|ActionsSecret|ActionsVariable|Workflow|BranchProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|CodeScanningAlert|CodeScanningAnalysis|CodeScanningSarifsStatus|CodespacesPublicKey|RepoCodespacesSecret|RepositoryCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|CombinedCommitStatus|BasicError|DependabotAlert|DependabotPublicKey|DependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|Blob|GitCommit|GitRef|GitTag|GitTree|WebhookConfig|IssueComment|IssueEvent|PageBuild|PagesDeploymentStatus|PullRequestReviewComment|PullRequestReviewRequest|ReleaseAsset|Release|RuleSuite|SecretScanningAlert|ScimUser|TeamDiscussionComment|PackageVersion
7070
{
7171
if ($pathChunks[0] === '') {

src/Internal/Router/Post/Eight.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(private Routers $routers)
2121
{
2222
}
2323

24-
/** @return |Observable<Schema\Deployment>|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */
24+
/** @return |Observable<Schema\Deployment> */
2525
public function call(string $call, array $params, array $pathChunks): Json|Codespace|WithoutBody|TeamDiscussionComment|Reaction|EmptyObject|Ok|iterable|ProtectedBranchAdminEnforced
2626
{
2727
if ($pathChunks[0] === '') {

src/Internal/Router/Post/Repos.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public function requestPagesBuild(array $params): PageBuildStatus
9595
return $operator->call($arguments['owner'], $arguments['repo']);
9696
}
9797

98+
/** @return */
9899
public function createPagesDeployment(array $params): PageDeployment
99100
{
100101
$arguments = [];
@@ -747,6 +748,7 @@ public function createCommitSignatureProtection(array $params): ProtectedBranchA
747748
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['branch']);
748749
}
749750

751+
/** @return */
750752
public function cancelPagesDeployment(array $params): WithoutBody
751753
{
752754
$arguments = [];

src/Internal/Router/Post/Six.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function __construct(private Routers $routers)
3434
{
3535
}
3636

37-
/** @return |Schema\PageDeployment */
3837
public function call(string $call, array $params, array $pathChunks): Json|Created|AuthenticationToken|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotForBusinessSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotForBusinessSeatsForUsers\Response\ApplicationJson\Created\Application\Json|TeamDiscussion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|EmptyObject|CodeScanningSarifsReceipt|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|ShortBlob|GitCommit|GitRef|GitTag|GitTree|PageBuildStatus|PageDeployment|ReleaseNotesContent|RepositoryAdvisory|Status|TagProtection|ScimUser|TeamDiscussionComment|Reaction
3938
{
4039
if ($pathChunks[0] === '') {

src/Operation/Repos.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,16 +994,19 @@ public function getPagesBuild(string $owner, string $repo, int $buildId): PageBu
994994
return $this->operators->repos👷GetPagesBuild()->call($owner, $repo, $buildId);
995995
}
996996

997+
/** @return */
997998
public function createPagesDeployment(string $owner, string $repo, array $params): PageDeployment
998999
{
9991000
return $this->operators->repos👷CreatePagesDeployment()->call($owner, $repo, $params);
10001001
}
10011002

1003+
/** @return */
10021004
public function getPagesDeployment(string $owner, string $repo, mixed $pagesDeploymentId): PagesDeploymentStatus
10031005
{
10041006
return $this->operators->repos👷GetPagesDeployment()->call($owner, $repo, $pagesDeploymentId);
10051007
}
10061008

1009+
/** @return */
10071010
public function cancelPagesDeployment(string $owner, string $repo, mixed $pagesDeploymentId): WithoutBody
10081011
{
10091012
return $this->operators->repos👷CancelPagesDeployment()->call($owner, $repo, $pagesDeploymentId);

src/PHPStan/ClientCallReturnTypes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3404,15 +3404,15 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
34043404
}
34053405

34063406
if ($call === 'POST /repos/{owner}/{repo}/pages/deployments') {
3407-
return $this->typeResolver->resolve('Schema\\PageDeployment');
3407+
return $this->typeResolver->resolve('');
34083408
}
34093409

34103410
if ($call === 'GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}') {
3411-
return $this->typeResolver->resolve('Schema\\PagesDeploymentStatus');
3411+
return $this->typeResolver->resolve('');
34123412
}
34133413

34143414
if ($call === 'POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel') {
3415-
return $this->typeResolver->resolve('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
3415+
return $this->typeResolver->resolve('');
34163416
}
34173417

34183418
if ($call === 'GET /repos/{owner}/{repo}/pages/health') {

tests/Types/ClientCallReturnTypes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -857,9 +857,9 @@ function authHeader(): string
857857
assertType('', $client->call('POST /repos/{owner}/{repo}/pages/builds'));
858858
assertType('', $client->call('GET /repos/{owner}/{repo}/pages/builds/latest'));
859859
assertType('', $client->call('GET /repos/{owner}/{repo}/pages/builds/{build_id}'));
860-
assertType('Schema\\PageDeployment', $client->call('POST /repos/{owner}/{repo}/pages/deployments'));
861-
assertType('Schema\\PagesDeploymentStatus', $client->call('GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}'));
862-
assertType('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel'));
860+
assertType('', $client->call('POST /repos/{owner}/{repo}/pages/deployments'));
861+
assertType('', $client->call('GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}'));
862+
assertType('', $client->call('POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel'));
863863
assertType('', $client->call('GET /repos/{owner}/{repo}/pages/health'));
864864
assertType('', $client->call('PUT /repos/{owner}/{repo}/private-vulnerability-reporting'));
865865
assertType('', $client->call('DELETE /repos/{owner}/{repo}/private-vulnerability-reporting'));

0 commit comments

Comments
 (0)