Skip to content

Commit b5aa464

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-0060b499a5d39e935a73965cb74e1cd7 from 1.1.4-b8769452718d6d7793dc313b1b4aae02
Detected Schema changes: ``` ├─┬Paths │ ├─┬/gists/{gist_id} │ │ ├─┬GET │ │ │ └─┬Responses │ │ │ └─┬200 │ │ │ └─┬application/json │ │ │ └─┬default │ │ │ └──[🔀] value (202202:9) │ │ └─┬PATCH │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬updateGist │ │ └──[🔀] value (202202:9) │ ├─┬/enterprises/{enterprise}/copilot/usage │ │ └─┬GET │ │ └──[🔀] description (1583:20) │ ├─┬/repos/{owner}/{repo}/dependency-graph/sbom │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ └──[🔀] value (214770:9) │ ├─┬/gists/{gist_id}/{sha} │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ └──[🔀] value (202202:9) │ └─┬/gists │ └─┬POST │ └─┬Responses │ └─┬201 │ └─┬application/json │ └─┬default │ └──[🔀] value (202202:9) └─┬Components ├──[➖] schemas (76181:7)❌ ├─┬gist-simple │ └─┬files │ └─┬Schema │ └──[➖] properties (71175:15)❌ ├─┬dependency-graph-spdx-sbom │ └─┬sbom │ ├──[➕] required (84250:13)❌ │ ├──[➖] properties (84146:13)❌ │ ├──[➖] properties (84279:13)❌ │ ├─┬documentNamespace │ │ └──[🔀] examples (84148:17) │ └─┬packages │ ├──[➕] required (84243:17)❌ │ └─┬Schema │ └─┬name │ └──[🔀] examples (84163:23) └─┬base-gist └─┬files └─┬Schema └──[➖] properties (70757:15)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | components | 9 | 7 | | paths | 6 | 0 | Date: 11/06/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _7_ out of _15_ - **Modifications**: _8_ - **Removals**: _5_ - **Additions**: _2_ - **Breaking Removals**: _5_ - **Breaking Additions**: _2_ ERROR: breaking changes discovered
1 parent e6121f5 commit b5aa464

File tree

23 files changed

+473
-160
lines changed

23 files changed

+473
-160
lines changed

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

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "b8769452718d6d7793dc313b1b4aae02",
2+
"specHash": "0060b499a5d39e935a73965cb74e1cd7",
33
"generatedFiles": {
44
"files": [
55
{
@@ -216,7 +216,7 @@
216216
},
217217
{
218218
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/BaseGist.php",
219-
"hash": "fe1743649947d9b6b4f23210365e25d2"
219+
"hash": "6a4c0f624e46228684170909267749bb"
220220
},
221221
{
222222
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PublicUser.php",
@@ -228,7 +228,7 @@
228228
},
229229
{
230230
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistSimple.php",
231-
"hash": "92458eed8789d76fe1ee5ccbed68fd3f"
231+
"hash": "830ff132801cff2da8c06596d183f567"
232232
},
233233
{
234234
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistComment.php",
@@ -1020,7 +1020,7 @@
10201020
},
10211021
{
10221022
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom.php",
1023-
"hash": "1fac181e9709ac23cd2d148d97cc51e9"
1023+
"hash": "2b34386e561862bb95a6964f9c133078"
10241024
},
10251025
{
10261026
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Metadata.php",
@@ -2596,7 +2596,7 @@
25962596
},
25972597
{
25982598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/BaseGist\/Files.php",
2599-
"hash": "09f696f9a86b28ae35c7c7c8b3dbfc05"
2599+
"hash": "fec30dd4158ff37c3882ef0174c17c25"
26002600
},
26012601
{
26022602
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PublicUser\/Plan.php",
@@ -2616,7 +2616,7 @@
26162616
},
26172617
{
26182618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistSimple\/Files.php",
2619-
"hash": "1b5693aba03f4ca6bb2a7d92a84b5838"
2619+
"hash": "6795e635121a0e280bac2ca35033004d"
26202620
},
26212621
{
26222622
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/MarketplacePurchase\/MarketplacePendingChange.php",
@@ -2996,15 +2996,15 @@
29962996
},
29972997
{
29982998
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom.php",
2999-
"hash": "3c4ab5e98dbbe2fe531b0aff28d85829"
2999+
"hash": "f4bc432910e9f5456cd871f8b2b3076b"
30003000
},
30013001
{
30023002
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom\/CreationInfo.php",
30033003
"hash": "c1f6605ee8638a1beecef01598283b4b"
30043004
},
30053005
{
30063006
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom\/Packages.php",
3007-
"hash": "e4864ff3b53f3eec3ba6e1a72d590160"
3007+
"hash": "13058210d032e1cbb0369e9f2d89abe1"
30083008
},
30093009
{
30103010
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom\/Packages\/ExternalRefs.php",
@@ -5640,7 +5640,7 @@
56405640
},
56415641
{
56425642
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Users.php",
5643-
"hash": "eaa240043367d1e6fafea11639d96254"
5643+
"hash": "3dbce1b405bb6506b17dffb6b89b814f"
56445644
},
56455645
{
56465646
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operations.php",
@@ -5694,13 +5694,9 @@
56945694
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/IssueSearchResultItem\/PullRequest.php",
56955695
"hash": "465ddf9717992308cfddc9ced502421b"
56965696
},
5697-
{
5698-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietD335746C\/Tiet406EDE4F\/TietC95BE99F\/TietC8083F83.php",
5699-
"hash": "d06ea5555ba1652c9de00d8520bf5c9d"
5700-
},
57015697
{
57025698
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistSimple\/ForkOf\/Files.php",
5703-
"hash": "08ffbf451b13fa401c03e018b9a9ce24"
5699+
"hash": "f212c91d3002f8eb184dd2fe324833e2"
57045700
},
57055701
{
57065702
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet3D775F5C\/TietC5097624\/TietA99A13A4\/TietE24C2E4A.php",
@@ -11620,7 +11616,7 @@
1162011616
},
1162111617
{
1162211618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Copilot.php",
11623-
"hash": "148290dd696a6938081914d1f8d9ba62"
11619+
"hash": "834bddbca068114bb35b70f3312b0dcd"
1162411620
},
1162511621
{
1162611622
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
@@ -13884,7 +13880,7 @@
1388413880
},
1388513881
{
1388613882
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/CancelCopilotSeatAssignmentForUsers.php",
13887-
"hash": "b6be04c79deb9abb4ac9eda8458c71a2"
13883+
"hash": "96993b324a7999d1079fed4b0314d5d2"
1388813884
},
1388913885
{
1389013886
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/CancelCopilotSeatAssignmentForUsersTest.php",
@@ -24492,7 +24488,7 @@
2449224488
},
2449324489
{
2449424490
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Copilot.php",
24495-
"hash": "3a458f57985cc89713873402e32785e9"
24491+
"hash": "efd3fe533b8f10b9ef76cbe3b49b002e"
2449624492
},
2449724493
{
2449824494
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/CodeScanning.php",
@@ -24760,7 +24756,7 @@
2476024756
},
2476124757
{
2476224758
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Copilot.php",
24763-
"hash": "bbdb641896ff965babd59937429a1773"
24759+
"hash": "11b98758d1b541880f815256cb19d433"
2476424760
},
2476524761
{
2476624762
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Reactions.php",
@@ -24888,7 +24884,7 @@
2488824884
},
2488924885
{
2489024886
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php",
24891-
"hash": "43489effb4287a623862afc82213a25c"
24887+
"hash": "9d52e88c5af6aa5a666a418c7149880a"
2489224888
},
2489324889
{
2489424890
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Five.php",
@@ -25004,7 +25000,7 @@
2500425000
},
2500525001
{
2500625002
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Six.php",
25007-
"hash": "73f6df01dba95e873be2598312f65958"
25003+
"hash": "7e5c39735eb9b1f7917a4749cfbf696c"
2500825004
},
2500925005
{
2501025006
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Eight.php",
@@ -26164,7 +26160,7 @@
2616426160
},
2616526161
{
2616626162
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/DependencyGraph\/Sbom.php",
26167-
"hash": "ca0a708cde6afd0df3432ab4174d9704"
26163+
"hash": "2a88b4076668173b6bd5f0b5fc111f57"
2616826164
},
2616926165
{
2617026166
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/DependencyGraph\/Snapshots.php",
@@ -27644,11 +27640,11 @@
2764427640
},
2764527641
{
2764627642
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27647-
"hash": "6ae16abaa5e4120437edef7859214188"
27643+
"hash": "bd81aa4582ee720aa9dada541bc1ff66"
2764827644
},
2764927645
{
2765027646
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27651-
"hash": "261160fbab16ac74669744bed6a8ca24"
27647+
"hash": "a1d23a8f5baa19ef387a0224ea0f427e"
2765227648
},
2765327649
{
2765427650
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -28516,7 +28512,7 @@
2851628512
},
2851728513
{
2851828514
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/AddCopilotSeatsForUsers.php",
28519-
"hash": "7f87225047a2b6ec6ba002bee8689a4b"
28515+
"hash": "d763d8d501aaa0b8acb4ad4a7819c44b"
2852028516
},
2852128517
{
2852228518
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/AddCopilotSeatsForUsersTest.php",
@@ -30997,6 +30993,14 @@
3099730993
{
3099830994
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Insights\/Api\/SummaryStats\/ActorType\/ActorId.php",
3099930995
"hash": "a93ba1f6eb83fc9f8c318615c49ba1d6"
30996+
},
30997+
{
30998+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsRequiredReviewerConfiguration.php",
30999+
"hash": "b85aa69ed2efcbdcf2b1154a6cdfa482"
31000+
},
31001+
{
31002+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom\/Relationships.php",
31003+
"hash": "f6f24936ee897b9ac1b455b032238224"
3100031004
}
3100131005
]
3100231006
},

clients/GitHub/src/Internal/Hydrator/Operation/Repos/Owner/Repo/DependencyGraph/Sbom.php

Lines changed: 45 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Depe
116116

117117
after_spdxVersion:
118118

119+
$value = $payload['comment'] ?? null;
120+
121+
if ($value === null) {
122+
$properties['comment'] = null;
123+
goto after_comment;
124+
}
125+
126+
$properties['comment'] = $value;
127+
128+
after_comment:
129+
119130
$value = $payload['creation_info'] ?? null;
120131

121132
if ($value === null) {
@@ -158,17 +169,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Depe
158169

159170
after_dataLicense:
160171

161-
$value = $payload['document_describes'] ?? null;
162-
163-
if ($value === null) {
164-
$missingFields[] = 'document_describes';
165-
goto after_documentDescribes;
166-
}
167-
168-
$properties['documentDescribes'] = $value;
169-
170-
after_documentDescribes:
171-
172172
$value = $payload['document_namespace'] ?? null;
173173

174174
if ($value === null) {
@@ -190,6 +190,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Depe
190190
$properties['packages'] = $value;
191191

192192
after_packages:
193+
194+
$value = $payload['relationships'] ?? null;
195+
196+
if ($value === null) {
197+
$properties['relationships'] = null;
198+
goto after_relationships;
199+
}
200+
201+
$properties['relationships'] = $value;
202+
203+
after_relationships:
193204
} catch (Throwable $exception) {
194205
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\DependencyGraphSpdxSbom\Sbom', $exception, stack: $this->hydrationStack);
195206
}
@@ -429,6 +440,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
429440
$spdxVersion = $object->spdxVersion;
430441
after_spdxVersion: $result['spdx_version'] = $spdxVersion;
431442

443+
$comment = $object->comment;
444+
445+
if ($comment === null) {
446+
goto after_comment;
447+
}
448+
449+
after_comment: $result['comment'] = $comment;
450+
432451
$creationInfo = $object->creationInfo;
433452
$creationInfo = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️DependencyGraphSpdxSbom⚡️Sbom⚡️CreationInfo($creationInfo);
434453
after_creationInfo: $result['creation_info'] = $creationInfo;
@@ -439,16 +458,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
439458
$dataLicense = $object->dataLicense;
440459
after_dataLicense: $result['data_license'] = $dataLicense;
441460

442-
$documentDescribes = $object->documentDescribes;
443-
static $documentDescribesSerializer0;
444-
445-
if ($documentDescribesSerializer0 === null) {
446-
$documentDescribesSerializer0 = new SerializeArrayItems(...[]);
447-
}
448-
449-
$documentDescribes = $documentDescribesSerializer0->serialize($documentDescribes, $this);
450-
after_documentDescribes: $result['document_describes'] = $documentDescribes;
451-
452461
$documentNamespace = $object->documentNamespace;
453462
after_documentNamespace: $result['document_namespace'] = $documentNamespace;
454463

@@ -462,6 +471,21 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
462471
$packages = $packagesSerializer0->serialize($packages, $this);
463472
after_packages: $result['packages'] = $packages;
464473

474+
$relationships = $object->relationships;
475+
476+
if ($relationships === null) {
477+
goto after_relationships;
478+
}
479+
480+
static $relationshipsSerializer0;
481+
482+
if ($relationshipsSerializer0 === null) {
483+
$relationshipsSerializer0 = new SerializeArrayItems(...[]);
484+
}
485+
486+
$relationships = $relationshipsSerializer0->serialize($relationships, $this);
487+
after_relationships: $result['relationships'] = $relationships;
488+
465489
return $result;
466490
}
467491

clients/GitHub/src/Internal/Operator/Copilot/AddCopilotSeatsForUsers.php

Lines changed: 1 addition & 0 deletions
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 $org, array $params): Created|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Copilot\AddCopilotSeatsForUsers($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org);

clients/GitHub/src/Internal/Operator/Copilot/CancelCopilotSeatAssignmentForUsers.php

Lines changed: 1 addition & 0 deletions
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 $org, array $params): Ok|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Copilot\CancelCopilotSeatAssignmentForUsers($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public function cancelCopilotSeatAssignmentForTeams(array $params): Ok|WithoutBo
3535
return $operator->call($arguments['org'], $params);
3636
}
3737

38+
/** @return */
3839
public function cancelCopilotSeatAssignmentForUsers(array $params): \ApiClients\Client\GitHub\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok|WithoutBody
3940
{
4041
$arguments = [];

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public function __construct(private Routers $routers)
1717
{
1818
}
1919

20-
/** @return |Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */
2120
public function call(string $call, array $params, array $pathChunks): WithoutBody|Ok|\ApiClients\Client\GitHub\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok|ActionsCacheList|FileCommit
2221
{
2322
if ($pathChunks[0] === '') {

clients/GitHub/src/Internal/Router/Post/Copilot.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public function addCopilotSeatsForTeams(array $params): Created|WithoutBody
3535
return $operator->call($arguments['org'], $params);
3636
}
3737

38+
/** @return */
3839
public function addCopilotSeatsForUsers(array $params): \ApiClients\Client\GitHub\Schema\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created|WithoutBody
3940
{
4041
$arguments = [];

clients/GitHub/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\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */
3837
public function call(string $call, array $params, array $pathChunks): Json|Created|AuthenticationToken|WithoutBody|\ApiClients\Client\GitHub\Schema\Operations\Copilot\AddCopilotSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHub\Schema\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created|TeamDiscussion|\ApiClients\Client\GitHub\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|EmptyObject|CodeScanningSarifsReceipt|\ApiClients\Client\GitHub\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|ShortBlob|GitCommit|GitRef|GitTag|GitTree|PageBuildStatus|PageDeployment|ReleaseNotesContent|SecretScanningPushProtectionBypass|RepositoryAdvisory|Status|TagProtection|TeamDiscussionComment|Reaction
3938
{
4039
if ($pathChunks[0] === '') {

clients/GitHub/src/Operation/Copilot.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ public function cancelCopilotSeatAssignmentForTeams(string $org, array $params):
9696
return $this->operators->copilot👷CancelCopilotSeatAssignmentForTeams()->call($org, $params);
9797
}
9898

99+
/** @return */
99100
public function addCopilotSeatsForUsers(string $org, array $params): \ApiClients\Client\GitHub\Schema\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created|WithoutBody
100101
{
101102
return $this->operators->copilot👷AddCopilotSeatsForUsers()->call($org, $params);
102103
}
103104

105+
/** @return */
104106
public function cancelCopilotSeatAssignmentForUsers(string $org, array $params): \ApiClients\Client\GitHub\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok|WithoutBody
105107
{
106108
return $this->operators->copilot👷CancelCopilotSeatAssignmentForUsers()->call($org, $params);

clients/GitHub/src/PHPStan/ClientCallReturnTypes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,11 +868,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
868868
}
869869

870870
if ($call === 'POST /orgs/{org}/copilot/billing/selected_users') {
871-
return $this->typeResolver->resolve('Schema\\Operations\\Copilot\\AddCopilotSeatsForUsers\\Response\\ApplicationJson\\Created|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
871+
return $this->typeResolver->resolve('');
872872
}
873873

874874
if ($call === 'DELETE /orgs/{org}/copilot/billing/selected_users') {
875-
return $this->typeResolver->resolve('Schema\\Operations\\Copilot\\CancelCopilotSeatAssignmentForUsers\\Response\\ApplicationJson\\Ok|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
875+
return $this->typeResolver->resolve('');
876876
}
877877

878878
if ($call === 'GET /orgs/{org}/copilot/metrics') {

0 commit comments

Comments
 (0)