Skip to content

Commit d0fb7b3

Browse files
authored
Merge pull request #1275 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-1361f78292c83f6e3e25de0a25ba1a99-from-1.1.4-1361f78292c83f6e3e25de0a25ba1a99
2 parents bac8794 + 27239ea commit d0fb7b3

30 files changed

+225
-167
lines changed

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

+38-38
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "7deddf9e4aa09fc616db5959c95d3f00",
2+
"specHash": "1361f78292c83f6e3e25de0a25ba1a99",
33
"generatedFiles": {
44
"files": [
55
{
@@ -636,7 +636,7 @@
636636
},
637637
{
638638
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetBypassActor.php",
639-
"hash": "5516dc5c5dca8834aec7abcc304a57b8"
639+
"hash": "da5558c25d72365e22f30e3ebdf01c3a"
640640
},
641641
{
642642
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditions.php",
@@ -716,7 +716,7 @@
716716
},
717717
{
718718
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
719-
"hash": "ecc2440adece9a4ec03e34487f2e7749"
719+
"hash": "6ee659e0f0495addd089ee78553a9686"
720720
},
721721
{
722722
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GroupMapping.php",
@@ -4928,11 +4928,11 @@
49284928
},
49294929
{
49304930
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
4931-
"hash": "8626ece4e51fec19715838c79bf928ff"
4931+
"hash": "3510ea1cccef695477bdc9eb4bb4f14b"
49324932
},
49334933
{
49344934
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
4935-
"hash": "426bcb7c6d323af2b12b7b56566c185a"
4935+
"hash": "fc69f8a617e5785351ad8a694527d716"
49364936
},
49374937
{
49384938
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
@@ -5648,11 +5648,11 @@
56485648
},
56495649
{
56505650
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
5651-
"hash": "a1ec19306a48bf833533db7e3f7c08ef"
5651+
"hash": "b5bc0de396046888507d2874875d48aa"
56525652
},
56535653
{
56545654
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
5655-
"hash": "d1fe836ccfd8728b0ae121e2c1fe4672"
5655+
"hash": "8454bccfb8cbf8b0b0635a15d47d007a"
56565656
},
56575657
{
56585658
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",
@@ -5912,7 +5912,7 @@
59125912
},
59135913
{
59145914
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/SecretScanning.php",
5915-
"hash": "28cced2b2066e975b813c4756d6d9e41"
5915+
"hash": "40681bd236d936e12c07611df739760a"
59165916
},
59175917
{
59185918
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Dependabot.php",
@@ -5948,7 +5948,7 @@
59485948
},
59495949
{
59505950
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Orgs.php",
5951-
"hash": "fa6719d3b16d3c7ed97317f8143119da"
5951+
"hash": "59890756247759e5bb8bf34f4d0283c2"
59525952
},
59535953
{
59545954
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Oidc.php",
@@ -5980,7 +5980,7 @@
59805980
},
59815981
{
59825982
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php",
5983-
"hash": "f748bf54a9a5560bdd2ba3b02245aec7"
5983+
"hash": "e3d0fb7bf6fdae24d5c77c192f75dddc"
59845984
},
59855985
{
59865986
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -6000,15 +6000,15 @@
60006000
},
60016001
{
60026002
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Git.php",
6003-
"hash": "9db43ca2c67d507d9387daeef46d9f63"
6003+
"hash": "ab7610a1347b5db28633e08794863ce3"
60046004
},
60056005
{
60066006
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Pulls.php",
60076007
"hash": "e28481d1ae839ea433eae30e279e3692"
60086008
},
60096009
{
60106010
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
6011-
"hash": "5e1ba8bf61a470f459224e9c395ff404"
6011+
"hash": "ff770b21094efb1ed605bd62cd6ee60e"
60126012
},
60136013
{
60146014
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Scim.php",
@@ -12272,15 +12272,15 @@
1227212272
},
1227312273
{
1227412274
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
12275-
"hash": "219329143972a3c87a60255a41d945b3"
12275+
"hash": "3745906c13bc1514ffb74aaec2053e14"
1227612276
},
1227712277
{
1227812278
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
12279-
"hash": "aaa4e002f4cc4b3de170195d11d479ac"
12279+
"hash": "646366987f657717e173115347d43f52"
1228012280
},
1228112281
{
1228212282
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
12283-
"hash": "0405743f8cf4238d1b47e9e37aea286d"
12283+
"hash": "73c76c53786fa9781ebcc4114db8685d"
1228412284
},
1228512285
{
1228612286
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/SecurityAdvisories\/CreateRepositoryAdvisoryCveRequest\/Response\/ApplicationJson\/Accepted.php",
@@ -12588,7 +12588,7 @@
1258812588
},
1258912589
{
1259012590
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/SecurityAdvisories\/ListGlobalAdvisories.php",
12591-
"hash": "b4ecaf6e56f01546fdcc9e86208d8f46"
12591+
"hash": "eb267ad6b65efef73618f5fb5ac633ca"
1259212592
},
1259312593
{
1259412594
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/SecurityAdvisories\/ListGlobalAdvisoriesTest.php",
@@ -26056,7 +26056,7 @@
2605626056
},
2605726057
{
2605826058
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
26059-
"hash": "9021b0368d7f9851324124f60f7a51c2"
26059+
"hash": "66019849b8ed5a24b407af978556b19f"
2606026060
},
2606126061
{
2606226062
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Apps.php",
@@ -26204,7 +26204,7 @@
2620426204
},
2620526205
{
2620626206
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Orgs.php",
26207-
"hash": "b3e49a2bb6d97bdcf6329d78cc2b7093"
26207+
"hash": "60e93c0879fba08f09548e2e2d1f6998"
2620826208
},
2620926209
{
2621026210
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Migrations.php",
@@ -26332,7 +26332,7 @@
2633226332
},
2633326333
{
2633426334
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Orgs.php",
26335-
"hash": "6b2999079830ce29faaf441a7e3f7cbc"
26335+
"hash": "287cac26e23abe87d9ad96011db66cb9"
2633626336
},
2633726337
{
2633826338
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Teams.php",
@@ -26636,7 +26636,7 @@
2663626636
},
2663726637
{
2663826638
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
26639-
"hash": "bbe0fadcba0be54424b156c6ca7d9137"
26639+
"hash": "24fc7ea4b2af79201c6722ce34fc1db1"
2664026640
},
2664126641
{
2664226642
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Three.php",
@@ -26672,7 +26672,7 @@
2667226672
},
2667326673
{
2667426674
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Four.php",
26675-
"hash": "357c5435add746f49352db02940da5fe"
26675+
"hash": "e38ddd8d5049c75e864802385ba02672"
2667626676
},
2667726677
{
2667826678
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php",
@@ -26720,7 +26720,7 @@
2672026720
},
2672126721
{
2672226722
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Five.php",
26723-
"hash": "1bc2e14132b41f20c4010f0304dcaae3"
26723+
"hash": "2d60145a93ebc2c26221058fe1d9783c"
2672426724
},
2672526725
{
2672626726
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Seven.php",
@@ -29860,11 +29860,11 @@
2986029860
},
2986129861
{
2986229862
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
29863-
"hash": "ede56375d2524f82332ff81ca57b5f09"
29863+
"hash": "1efd2d80d9ab1a1e59bc6d34c3cefe2e"
2986429864
},
2986529865
{
2986629866
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
29867-
"hash": "65642c5f7295b44753162468dff556ed"
29867+
"hash": "358ba35723469380db51b84dbc0b733c"
2986829868
},
2986929869
{
2987029870
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -30468,15 +30468,15 @@
3046830468
},
3046930469
{
3047030470
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/CreateCustomOrganizationRole.php",
30471-
"hash": "73f2e6e9a964f55c17b6c752b83c9dbf"
30471+
"hash": "c86cb1584c290a74cce75543ae004878"
3047230472
},
3047330473
{
3047430474
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/CreateCustomOrganizationRole.php",
30475-
"hash": "9a8cf90e61a6ecaa4ea346d3e5cd1690"
30475+
"hash": "2cfa39bca4642bb8640e02730b65ee9a"
3047630476
},
3047730477
{
3047830478
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/CreateCustomOrganizationRoleTest.php",
30479-
"hash": "d1d74cf5b0df9b31c8eac904559c8437"
30479+
"hash": "1d4b2c68472c23e258d87ab8d994304d"
3048030480
},
3048130481
{
3048230482
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/RevokeAllOrgRolesTeam.php",
@@ -30548,15 +30548,15 @@
3054830548
},
3054930549
{
3055030550
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/PatchCustomOrganizationRole.php",
30551-
"hash": "917bf4e51d265f9385784c29a22dbb15"
30551+
"hash": "af9bc702c158902def707e23bc3e6189"
3055230552
},
3055330553
{
3055430554
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/PatchCustomOrganizationRole.php",
30555-
"hash": "10520e43fcf524b4591ebee4c59b5d71"
30555+
"hash": "b40a64b699cd59be2558d344c0b55198"
3055630556
},
3055730557
{
3055830558
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/PatchCustomOrganizationRoleTest.php",
30559-
"hash": "48a47caad0e72021f2debce6045e030f"
30559+
"hash": "2c9eda967c75144e95503b00454ad78e"
3056030560
},
3056130561
{
3056230562
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/ListOrgRoleTeams.php",
@@ -30618,14 +30618,6 @@
3061830618
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Orgs\/ListOrgRoles\/Response\/ApplicationJson\/Ok.php",
3061930619
"hash": "c3865f4e055f36b97c4f633d1ebfd2bd"
3062030620
},
30621-
{
30622-
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Orgs\/CreateCustomOrganizationRole\/Request\/ApplicationJson.php",
30623-
"hash": "5969d9eafe873b8699072f6a21c83705"
30624-
},
30625-
{
30626-
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Orgs\/PatchCustomOrganizationRole\/Request\/ApplicationJson.php",
30627-
"hash": "3f07381cced831a911ea73a75c1a2e48"
30628-
},
3062930621
{
3063030622
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/OrganizationFineGrainedPermissions.php",
3063130623
"hash": "ee72decb1a5bd3d913b8e00c9df1c2fa"
@@ -32805,6 +32797,14 @@
3280532797
{
3280632798
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/SubIssues.php",
3280732799
"hash": "e133405715af7c12ffef981d5433ac3f"
32800+
},
32801+
{
32802+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/OrganizationCustomOrganizationRoleCreateSchema.php",
32803+
"hash": "2f8c7770e7246f112366081c75fb13eb"
32804+
},
32805+
{
32806+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/OrganizationCustomOrganizationRoleUpdateSchema.php",
32807+
"hash": "4d2b4d4e56d64809b5416786296e8c0f"
3280832808
}
3280932809
]
3281032810
},

clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/CreateCustomOrganizationRole.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(private readonly SchemaValidator $requestSchemaValid
3333

3434
public function createRequest(array $data): RequestInterface
3535
{
36-
$this->requestSchemaValidator->validate($data, Reader::readFromJson(Schema\Orgs\CreateCustomOrganizationRole\Request\ApplicationJson::SCHEMA_JSON, \cebe\openapi\spec\Schema::class));
36+
$this->requestSchemaValidator->validate($data, Reader::readFromJson(Schema\OrganizationCustomOrganizationRoleCreateSchema::SCHEMA_JSON, \cebe\openapi\spec\Schema::class));
3737

3838
return new Request('POST', str_replace(['{org}'], [$this->org], '/orgs/{org}/organization-roles'), ['Content-Type' => 'application/json'], json_encode($data));
3939
}

clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/PatchCustomOrganizationRole.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct(private readonly SchemaValidator $requestSchemaValid
3636

3737
public function createRequest(array $data): RequestInterface
3838
{
39-
$this->requestSchemaValidator->validate($data, Reader::readFromJson(Schema\Orgs\PatchCustomOrganizationRole\Request\ApplicationJson::SCHEMA_JSON, \cebe\openapi\spec\Schema::class));
39+
$this->requestSchemaValidator->validate($data, Reader::readFromJson(Schema\OrganizationCustomOrganizationRoleUpdateSchema::SCHEMA_JSON, \cebe\openapi\spec\Schema::class));
4040

4141
return new Request('PATCH', str_replace(['{org}', '{role_id}'], [$this->org, $this->roleId], '/orgs/{org}/organization-roles/{role_id}'), ['Content-Type' => 'application/json'], json_encode($data));
4242
}

clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/CreateCustomOrganizationRole.php

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

27-
/** @return */
2827
public function call(string $org, array $params): OrganizationRole
2928
{
3029
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\CreateCustomOrganizationRole($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org);

clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/PatchCustomOrganizationRole.php

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

27-
/** @return */
2827
public function call(string $org, int $roleId, array $params): OrganizationRole
2928
{
3029
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\PatchCustomOrganizationRole($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org, $roleId);

clients/GitHubEnterpriseCloud/src/Internal/Operator/SecurityAdvisories/ListGlobalAdvisories.php

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

27-
/** @return iterable<int,Schema\GlobalAdvisory> */
27+
/** @return Observable<Schema\GlobalAdvisory> */
2828
public function call(string $ghsaId, string $cveId, string $ecosystem, string $severity, $cwes, bool $isWithdrawn, $affects, string $published, string $updated, string $modified, string $epssPercentage, string $epssPercentile, string $before, string $after, string $type = 'reviewed', string $direction = 'desc', int $perPage = 30, string $sort = 'published'): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\SecurityAdvisories\ListGlobalAdvisories($this->responseSchemaValidator, $this->hydrator, $ghsaId, $cveId, $ecosystem, $severity, $cwes, $isWithdrawn, $affects, $published, $updated, $modified, $epssPercentage, $epssPercentile, $before, $after, $type, $direction, $perPage, $sort);

clients/GitHubEnterpriseCloud/src/Internal/Router/Get/SecurityAdvisories.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri
2121
{
2222
}
2323

24-
/** @return iterable<int,Schema\GlobalAdvisory> */
24+
/** @return Observable<Schema\GlobalAdvisory> */
2525
public function listGlobalAdvisories(array $params): iterable
2626
{
2727
$arguments = [];

clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Two.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct(private Routers $routers)
2222
{
2323
}
2424

25-
/** @return iterable<int,Schema\GlobalAdvisory>||Observable<Schema\SimpleClassroom>|Observable<Schema\CodeOfConduct>|WithoutBody|Observable<Schema\Event>|Observable<Schema\BaseGist>|Observable<Schema\Issue>|Observable<Schema\LicenseSimple>|Observable<Schema\Thread>|Observable<Schema\OrganizationSimple>|Observable<Schema\MinimalRepository>|Observable<Schema\SimpleUser>|Observable<string> */
25+
/** @return Observable<Schema\GlobalAdvisory>||Observable<Schema\SimpleClassroom>|Observable<Schema\CodeOfConduct>|WithoutBody|Observable<Schema\Event>|Observable<Schema\BaseGist>|Observable<Schema\Issue>|Observable<Schema\LicenseSimple>|Observable<Schema\Thread>|Observable<Schema\OrganizationSimple>|Observable<Schema\MinimalRepository>|Observable<Schema\SimpleUser>|Observable<string> */
2626
public function call(string $call, array $params, array $pathChunks): iterable|Integration|WithoutBody|Json|Feed|ApiOverview|ResponseInterface|RateLimitOverview|PrivateUser|PublicUser|string
2727
{
2828
if ($pathChunks[0] === '') {

clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Five.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Routers $routers)
2424
{
2525
}
2626

27-
/** @return |Observable<Schema\CustomProperty> */
27+
/** @return |Schema\OrganizationRole|Observable<Schema\CustomProperty> */
2828
public function call(string $call, array $params, array $pathChunks): GistComment|OrganizationCustomRepositoryRole|OrgHook|OrganizationRole|iterable|WithoutBody|TeamFull|ProjectCard|Import|TeamDiscussion|GroupMapping|OrgMembership
2929
{
3030
if ($pathChunks[0] === '') {

clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Orgs.php

-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ public function updateWebhook(array $params): OrgHook
125125
return $operator->call($arguments['org'], $arguments['hook_id'], $params);
126126
}
127127

128-
/** @return */
129128
public function patchCustomOrganizationRole(array $params): OrganizationRole
130129
{
131130
$arguments = [];

clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Four.php

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function __construct(private Routers $routers)
3030
{
3131
}
3232

33+
/** @return |Schema\OrganizationRole */
3334
public function call(string $call, array $params, array $pathChunks): Integration|Authorization|GistComment|WithoutBody|BaseGist|OrganizationCustomRepositoryRole|OrgHook|OrganizationInvitation|Migration|OrganizationRole|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\UpdatePatAccesses\Response\ApplicationJson\Accepted\Application\Json|Project|FullRepository|RepositoryRuleset|TeamFull|ProjectColumn|TeamDiscussion
3435
{
3536
if ($pathChunks[0] === '') {

clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Orgs.php

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public function createInvitation(array $params): OrganizationInvitation
8484
return $operator->call($arguments['org'], $params);
8585
}
8686

87-
/** @return */
8887
public function createCustomOrganizationRole(array $params): OrganizationRole
8988
{
9089
$arguments = [];

0 commit comments

Comments
 (0)