Skip to content

Commit bd95d23

Browse files
authored
Merge pull request #1311 from php-api-clients/GitHub/from-1.1.4-c6249831ad99957f8d160f21b8d426dd-from-1.1.4-c6249831ad99957f8d160f21b8d426dd
2 parents bddcf75 + 4a87523 commit bd95d23

File tree

20 files changed

+146
-36
lines changed

20 files changed

+146
-36
lines changed

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "24f4c3ebacf1ca5821698e28d77d32d1",
2+
"specHash": "c6249831ad99957f8d160f21b8d426dd",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5576,7 +5576,7 @@
55765576
},
55775577
{
55785578
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Orgs.php",
5579-
"hash": "a471065365c30c5de2e67c9b59762318"
5579+
"hash": "969f2d59467f854edc18a940b109cab4"
55805580
},
55815581
{
55825582
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Actions.php",
@@ -11668,15 +11668,15 @@
1166811668
},
1166911669
{
1167011670
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotOrganizationDetails.php",
11671-
"hash": "c7942b67efff87e3886a31a79eb0df76"
11671+
"hash": "2050773bcb76af8cf988458a3bfd22a1"
1167211672
},
1167311673
{
1167411674
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotSeatDetails.php",
11675-
"hash": "71f4354ce2e2195c0502b1c58685d270"
11675+
"hash": "a8ecbaf9a8ebe5dae05d80caf63adb7a"
1167611676
},
1167711677
{
1167811678
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeats\/Response\/ApplicationJson\/Ok.php",
11679-
"hash": "1c08d3802ed3f5f09d489c90519b80ed"
11679+
"hash": "e44a3e6b789fe93c25429d29881b391a"
1168011680
},
1168111681
{
1168211682
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietF5944C0A\/TietAA99D7D8\/Tiet9AE1F544\/TietA28F869C.php",
@@ -24452,7 +24452,7 @@
2445224452
},
2445324453
{
2445424454
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php",
24455-
"hash": "7625cb2f748a25f73eb436379d487943"
24455+
"hash": "7aa1e49892497be27649dd82f16073ed"
2445624456
},
2445724457
{
2445824458
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php",
@@ -24812,7 +24812,7 @@
2481224812
},
2481324813
{
2481424814
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Orgs.php",
24815-
"hash": "f75d53cf3c1a759efc2dcff811581dfb"
24815+
"hash": "fc2e156a854552a3e4ab12a89471a39c"
2481624816
},
2481724817
{
2481824818
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Teams.php",
@@ -24872,7 +24872,7 @@
2487224872
},
2487324873
{
2487424874
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Orgs.php",
24875-
"hash": "b7064f19fd6b2132fea4c2076dc726d0"
24875+
"hash": "f216337da6ea505b2938bd94df3bda5c"
2487624876
},
2487724877
{
2487824878
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Codespaces.php",
@@ -24956,7 +24956,7 @@
2495624956
},
2495724957
{
2495824958
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
24959-
"hash": "343c2b760b84ced96a51118cca0661bb"
24959+
"hash": "b2a28a4c2a159a5554c4694f89317cfd"
2496024960
},
2496124961
{
2496224962
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -25096,7 +25096,7 @@
2509625096
},
2509725097
{
2509825098
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Six.php",
25099-
"hash": "08ccaed3cd1c6bf14a3562ee889d0655"
25099+
"hash": "ca355d92539b542ef91be76d2fb5450d"
2510025100
},
2510125101
{
2510225102
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Eight.php",
@@ -25128,7 +25128,7 @@
2512825128
},
2512925129
{
2513025130
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Six.php",
25131-
"hash": "005f520b7747dbc03aca2290b99d7037"
25131+
"hash": "9f3dc75023548d3071b5b9a37ecfcf6b"
2513225132
},
2513325133
{
2513425134
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Eight.php",
@@ -25484,7 +25484,7 @@
2548425484
},
2548525485
{
2548625486
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Copilot\/Billing.php",
25487-
"hash": "2ee6e77d51da0181357404f7a6366cfd"
25487+
"hash": "ba0ebdf9ed5de7f8bbfe345861748d2c"
2548825488
},
2548925489
{
2549025490
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Copilot\/Billing\/Seats.php",
@@ -25604,7 +25604,7 @@
2560425604
},
2560525605
{
2560625606
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Members\/Username\/Copilot.php",
25607-
"hash": "79a20fd637d2fecbf00f10bd42cb3147"
25607+
"hash": "c06f25e050a7238628e4d0f336795349"
2560825608
},
2560925609
{
2561025610
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Memberships\/Username.php",
@@ -27528,7 +27528,7 @@
2752827528
},
2752927529
{
2753027530
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/GetCustomProperty.php",
27531-
"hash": "8dc202d2f5dfc5935acd69ac1bbdb0dd"
27531+
"hash": "6043440685746e826184b7017c073581"
2753227532
},
2753327533
{
2753427534
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/GetCustomPropertyTest.php",
@@ -27540,7 +27540,7 @@
2754027540
},
2754127541
{
2754227542
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/CreateOrUpdateCustomProperty.php",
27543-
"hash": "e503ca6aa384e7f5366d52af6a340c75"
27543+
"hash": "0014f81ebf2c18215cdff0f91368e995"
2754427544
},
2754527545
{
2754627546
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/CreateOrUpdateCustomPropertyTest.php",
@@ -27552,7 +27552,7 @@
2755227552
},
2755327553
{
2755427554
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/RemoveCustomProperty.php",
27555-
"hash": "b6f73478344e10109c8163f03d3ed6c5"
27555+
"hash": "8c1f0450066b826bd733d51dc3270205"
2755627556
},
2755727557
{
2755827558
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/RemoveCustomPropertyTest.php",
@@ -27736,11 +27736,11 @@
2773627736
},
2773727737
{
2773827738
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27739-
"hash": "e10489bd6c2a67db47e1033c7dbcc6f4"
27739+
"hash": "b279bfe420072ca3881b316b41cde25a"
2774027740
},
2774127741
{
2774227742
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27743-
"hash": "61d8619e191abe5c0c8fd6bf572ad7cc"
27743+
"hash": "a3cd037b10acacb7fbfa8165f0c08dac"
2774427744
},
2774527745
{
2774627746
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -29576,7 +29576,7 @@
2957629576
},
2957729577
{
2957829578
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeatsForEnterprise\/Response\/ApplicationJson\/Ok.php",
29579-
"hash": "9186b42a601359e27cb165753f1d9100"
29579+
"hash": "cb30e7a32b89dfe82a76b606ff934eb5"
2958029580
},
2958129581
{
2958229582
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Copilot\/Billing\/Seats.php",

clients/GitHub/src/Internal/Hydrator/Operation/Orgs/Org/Copilot/Billing.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Copi
128128
$properties['seatManagementSetting'] = $value;
129129

130130
after_seatManagementSetting:
131+
132+
$value = $payload['plan_type'] ?? null;
133+
134+
if ($value === null) {
135+
$properties['planType'] = null;
136+
goto after_planType;
137+
}
138+
139+
$properties['planType'] = $value;
140+
141+
after_planType:
131142
} catch (Throwable $exception) {
132143
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\CopilotOrganizationDetails', $exception, stack: $this->hydrationStack);
133144
}
@@ -426,6 +437,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
426437
$seatManagementSetting = $object->seatManagementSetting;
427438
after_seatManagementSetting: $result['seat_management_setting'] = $seatManagementSetting;
428439

440+
$planType = $object->planType;
441+
442+
if ($planType === null) {
443+
goto after_planType;
444+
}
445+
446+
after_planType: $result['plan_type'] = $planType;
447+
429448
return $result;
430449
}
431450

clients/GitHub/src/Internal/Hydrator/Operation/Orgs/Org/Members/Username/Copilot.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Copi
176176
$properties['updatedAt'] = $value;
177177

178178
after_updatedAt:
179+
180+
$value = $payload['plan_type'] ?? null;
181+
182+
if ($value === null) {
183+
$properties['planType'] = null;
184+
goto after_planType;
185+
}
186+
187+
$properties['planType'] = $value;
188+
189+
after_planType:
179190
} catch (Throwable $exception) {
180191
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\CopilotSeatDetails', $exception, stack: $this->hydrationStack);
181192
}
@@ -817,6 +828,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
817828

818829
after_updatedAt: $result['updated_at'] = $updatedAt;
819830

831+
$planType = $object->planType;
832+
833+
if ($planType === null) {
834+
goto after_planType;
835+
}
836+
837+
after_planType: $result['plan_type'] = $planType;
838+
820839
return $result;
821840
}
822841

clients/GitHub/src/Internal/Operator/Orgs/CreateOrUpdateCustomProperty.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 $org, string $customPropertyName, array $params): CustomProperty
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\CreateOrUpdateCustomProperty($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org, $customPropertyName);

clients/GitHub/src/Internal/Operator/Orgs/GetCustomProperty.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 $org, string $customPropertyName): CustomProperty
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\GetCustomProperty($this->responseSchemaValidator, $this->hydrator, $org, $customPropertyName);

clients/GitHub/src/Internal/Operator/Orgs/RemoveCustomProperty.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 $org, string $customPropertyName): WithoutBody
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\RemoveCustomProperty($this->responseSchemaValidator, $this->hydrator, $org, $customPropertyName);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ public function revokeAllOrgRolesUser(array $params): WithoutBody
278278
return $operator->call($arguments['org'], $arguments['username']);
279279
}
280280

281+
/** @return */
281282
public function removeCustomProperty(array $params): WithoutBody
282283
{
283284
$arguments = [];

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

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

21-
/** @return |\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */
2221
public function call(string $call, array $params, array $pathChunks): WithoutBody|Ok|Json|ActionsCacheList|FileCommit
2322
{
2423
if ($pathChunks[0] === '') {

clients/GitHub/src/Internal/Router/Get/Orgs.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,7 @@ public function listPatGrantRepositories(array $params): iterable
10061006
return $operator->call($arguments['org'], $arguments['pat_id'], $arguments['per_page'], $arguments['page']);
10071007
}
10081008

1009+
/** @return */
10091010
public function getCustomProperty(array $params): CustomProperty
10101011
{
10111012
$arguments = [];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function __construct(private Routers $routers)
7474
{
7575
}
7676

77-
/** @return |Observable<Schema\MarketplacePurchase>|Observable<Schema\RunnerApplication>|Observable<Schema\CodeSecurityDefaultConfigurations>|WithoutBody|Observable<Schema\HookDeliveryItem>|Observable<Schema\Team>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamRoleAssignment>|Observable<Schema\UserRoleAssignment>|Schema\CustomProperty|Observable<Schema\TeamDiscussion>|Observable<Schema\OrganizationInvitation>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\CodeScanningAlertItems>|Observable<Schema\CodeScanningAnalysis>|Observable<Schema\DependabotAlert>|Observable<Schema\PorterAuthor>|Observable<Schema\PorterLargeFile>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\CustomPropertyValue>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\RuleSuites>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
77+
/** @return |Observable<Schema\MarketplacePurchase>|Observable<Schema\RunnerApplication>|Observable<Schema\CodeSecurityDefaultConfigurations>|WithoutBody|Observable<Schema\HookDeliveryItem>|Observable<Schema\Team>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamRoleAssignment>|Observable<Schema\UserRoleAssignment>|Observable<Schema\TeamDiscussion>|Observable<Schema\OrganizationInvitation>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\CodeScanningAlertItems>|Observable<Schema\CodeScanningAnalysis>|Observable<Schema\DependabotAlert>|Observable<Schema\PorterAuthor>|Observable<Schema\PorterLargeFile>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\CustomPropertyValue>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\RuleSuites>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
7878
public function call(string $call, array $params, array $pathChunks): Ok|iterable|ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHub\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|WithoutBody|CodeSecurityConfiguration|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHub\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|Json|CopilotSeatDetails|Package|CustomProperty|RuleSuite|ActionsBillingUsage|PackagesBillingUsage|CombinedBillingUsage|ProjectCollaboratorPermission|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\PreFlightWithRepoForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|CommitComment|Commit|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|PagesHealthCheck|EmptyObject|PullRequest|Release|RepositoryRuleset|RepositoryAdvisory|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|CloneTraffic|ViewTraffic|TeamRepository|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceExportDetails
7979
{
8080
if ($pathChunks[0] === '') {

clients/GitHub/src/Internal/Router/Put/Orgs.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ public function assignUserToOrgRole(array $params): WithoutBody
160160
return $operator->call($arguments['org'], $arguments['username'], $arguments['role_id']);
161161
}
162162

163+
/** @return */
163164
public function createOrUpdateCustomProperty(array $params): CustomProperty
164165
{
165166
$arguments = [];

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public function __construct(private Routers $routers)
2020
{
2121
}
2222

23-
/** @return |Schema\CustomProperty */
2423
public function call(string $call, array $params, array $pathChunks): WithoutBody|EmptyObject|CustomProperty|RepositoryInvitation|FileCommit|Environment|RepositoryRuleset
2524
{
2625
if ($pathChunks[0] === '') {

clients/GitHub/src/Operation/Orgs.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,16 +432,19 @@ public function createOrUpdateCustomProperties(string $org, array $params): iter
432432
return $this->operators->orgs👷CreateOrUpdateCustomProperties()->call($org, $params);
433433
}
434434

435+
/** @return */
435436
public function getCustomProperty(string $org, string $customPropertyName): CustomProperty
436437
{
437438
return $this->operators->orgs👷GetCustomProperty()->call($org, $customPropertyName);
438439
}
439440

441+
/** @return */
440442
public function createOrUpdateCustomProperty(string $org, string $customPropertyName, array $params): CustomProperty
441443
{
442444
return $this->operators->orgs👷CreateOrUpdateCustomProperty()->call($org, $customPropertyName, $params);
443445
}
444446

447+
/** @return */
445448
public function removeCustomProperty(string $org, string $customPropertyName): WithoutBody
446449
{
447450
return $this->operators->orgs👷RemoveCustomProperty()->call($org, $customPropertyName);

0 commit comments

Comments
 (0)