Skip to content

Commit f40c164

Browse files
authored
Merge pull request #1208 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-1a530a6498e6aa969894cbe18e5bc2f3-from-1.1.4-1a530a6498e6aa969894cbe18e5bc2f3
2 parents 74335b5 + a954d07 commit f40c164

File tree

36 files changed

+1592
-124
lines changed

36 files changed

+1592
-124
lines changed

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

Lines changed: 59 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "6061900a2a9a80fad8e347fe7f6f508a",
2+
"specHash": "1a530a6498e6aa969894cbe18e5bc2f3",
33
"generatedFiles": {
44
"files": [
55
{
@@ -2256,7 +2256,7 @@
22562256
},
22572257
{
22582258
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2ItemEdited.php",
2259-
"hash": "35e8ea6be04da048a7cec32a7901dadf"
2259+
"hash": "62f3e1609b31645562cac13eb2c27a21"
22602260
},
22612261
{
22622262
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2ItemReordered.php",
@@ -2888,7 +2888,7 @@
28882888
},
28892889
{
28902890
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Team\/Permissions.php",
2891-
"hash": "502dfb7a08f9d8a0c825fc12a708cf08"
2891+
"hash": "2d7ee61268c86a4c0b2c55e8889423d5"
28922892
},
28932893
{
28942894
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/OrgMembership\/Permissions.php",
@@ -4100,11 +4100,11 @@
41004100
},
41014101
{
41024102
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2ItemEdited\/Changes\/Zero.php",
4103-
"hash": "8a8200c00876f6498dea05882122b197"
4103+
"hash": "7d11d0aeb2435b7bf0fec834af4e7c05"
41044104
},
41054105
{
41064106
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2ItemEdited\/Changes\/Zero\/FieldValue.php",
4107-
"hash": "fccb21f821c7e5367702bf7461493599"
4107+
"hash": "8b802006ebcbbc1129f2b392ab04d8c0"
41084108
},
41094109
{
41104110
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2ItemEdited\/Changes\/One.php",
@@ -5948,7 +5948,7 @@
59485948
},
59495949
{
59505950
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Orgs.php",
5951-
"hash": "272146cf453d37eab96fddc8acd64dc7"
5951+
"hash": "46fa83f5af496dd8490051f7b59cad68"
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": "24aa0a819f56bb460fb6383b42de4f4b"
5983+
"hash": "5dd5c12b264858511db3338db61aa20d"
59845984
},
59855985
{
59865986
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -19692,7 +19692,7 @@
1969219692
},
1969319693
{
1969419694
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListCommits.php",
19695-
"hash": "8c788b6f0a03bd3f880c87b1aa790ae4"
19695+
"hash": "56da0b80bc2eda8b6929fc5e43de1b8c"
1969619696
},
1969719697
{
1969819698
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListCommitsTest.php",
@@ -19704,7 +19704,7 @@
1970419704
},
1970519705
{
1970619706
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListCommitsListing.php",
19707-
"hash": "adb3f483b5d6b7f5ad5dc0f3f78d514a"
19707+
"hash": "09636bd87284a6297190b306a11cd284"
1970819708
},
1970919709
{
1971019710
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListCommitsListingTest.php",
@@ -26160,15 +26160,15 @@
2616026160
},
2616126161
{
2616226162
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php",
26163-
"hash": "413b9d87a7132f86e362f07ff7b71e61"
26163+
"hash": "f173a7f50bbb56822e2e2b59a149996d"
2616426164
},
2616526165
{
2616626166
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php",
2616726167
"hash": "ac6c52ac7cda2db47c67522e7578c285"
2616826168
},
2616926169
{
2617026170
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
26171-
"hash": "85d0a9814970c8096d994051d3163686"
26171+
"hash": "8b937dbc6e2b383be1e23513f5df3807"
2617226172
},
2617326173
{
2617426174
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php",
@@ -26472,15 +26472,15 @@
2647226472
},
2647326473
{
2647426474
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Orgs.php",
26475-
"hash": "f5a051ec4912505d58ed258b575665e4"
26475+
"hash": "f342d93026c4fe007b0a04803e16c28a"
2647626476
},
2647726477
{
2647826478
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Packages.php",
2647926479
"hash": "6245e00dd2250cc9949dfb86781f86d1"
2648026480
},
2648126481
{
2648226482
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Repos.php",
26483-
"hash": "fa73b8cd1dc23d61c9f0fb17ad187258"
26483+
"hash": "c5558dce469c072e2a90be41c96ed8db"
2648426484
},
2648526485
{
2648626486
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Activity.php",
@@ -26720,11 +26720,11 @@
2672026720
},
2672126721
{
2672226722
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
26723-
"hash": "b5b01eabc90ce8b140125b0a5bddb092"
26723+
"hash": "0a3bd1955d6e93219dba943e6d14cdbd"
2672426724
},
2672526725
{
2672626726
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
26727-
"hash": "f400a6ff2be0feb098a9b71470e5068d"
26727+
"hash": "f13be4e5c2ff5216add89c2fff5d6e7c"
2672826728
},
2672926729
{
2673026730
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -26820,15 +26820,15 @@
2682026820
},
2682126821
{
2682226822
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php",
26823-
"hash": "77467a9b649d5e533b64857b47983363"
26823+
"hash": "dc880ef38a537e30963c81bc90d8075f"
2682426824
},
2682526825
{
2682626826
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Two.php",
2682726827
"hash": "2f6d3fb5701f8bf188b882a049d6cfb3"
2682826828
},
2682926829
{
2683026830
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
26831-
"hash": "31e5d3ad629484873f56d10f580ed6cc"
26831+
"hash": "49cb24105100d20d1cdbf6fffe6ba90c"
2683226832
},
2683326833
{
2683426834
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
@@ -29944,11 +29944,11 @@
2994429944
},
2994529945
{
2994629946
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
29947-
"hash": "e6238f5078269a5424befc2dade19934"
29947+
"hash": "9d3511ac27f853771df19de578a0d71c"
2994829948
},
2994929949
{
2995029950
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
29951-
"hash": "6cdf9b5b5ec3eeb0397123b337d8001d"
29951+
"hash": "cb6304352154676876a943fdacc2de46"
2995229952
},
2995329953
{
2995429954
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -30644,47 +30644,47 @@
3064430644
},
3064530645
{
3064630646
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/ListOrgRoleTeams.php",
30647-
"hash": "d24bab68f8a38d26186d215a84f72aff"
30647+
"hash": "3a2e565705024a49e1a4233591245a2e"
3064830648
},
3064930649
{
3065030650
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleTeams.php",
30651-
"hash": "16483092f08e9c8c8680966d9cd7a9fa"
30651+
"hash": "f9a8c3a582d7e11cc1321204340d9b7f"
3065230652
},
3065330653
{
3065430654
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleTeamsTest.php",
3065530655
"hash": "aceb65a6c6dbc402d45d960c497f8cad"
3065630656
},
3065730657
{
3065830658
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/ListOrgRoleTeamsListing.php",
30659-
"hash": "7dd528ccaea5a60b23a79f96142f266c"
30659+
"hash": "d527fe1bb6279edc1474f81e427f7e45"
3066030660
},
3066130661
{
3066230662
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleTeamsListing.php",
30663-
"hash": "f2509d70a8fd85306a875a52ffef6bd9"
30663+
"hash": "08518299af2c21ae754e0b82d91ed12f"
3066430664
},
3066530665
{
3066630666
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleTeamsListingTest.php",
3066730667
"hash": "df9e89a4b15f9a68d693a315b2f68d43"
3066830668
},
3066930669
{
3067030670
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/ListOrgRoleUsers.php",
30671-
"hash": "aefe63c6f4a9908c6dcfa27cdf7d1a23"
30671+
"hash": "a24e3efee8b3769d545e90236b4b41a9"
3067230672
},
3067330673
{
3067430674
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleUsers.php",
30675-
"hash": "194ae40fe6f9bb82057e4d08c295dc12"
30675+
"hash": "13d39d1df9f19cfb3a24393d7572fe20"
3067630676
},
3067730677
{
3067830678
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleUsersTest.php",
3067930679
"hash": "0cc289321b334089de73dcf7ba98e5b8"
3068030680
},
3068130681
{
3068230682
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/ListOrgRoleUsersListing.php",
30683-
"hash": "8e14c24390201d2a4536aedc9cbdd358"
30683+
"hash": "d5840bed8a52208549969ed8a02dbf97"
3068430684
},
3068530685
{
3068630686
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleUsersListing.php",
30687-
"hash": "d06ab8de4b62e290784614d3adeecbc4"
30687+
"hash": "5cbd89f10aed734218c677fa96a2903e"
3068830688
},
3068930689
{
3069030690
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleUsersListingTest.php",
@@ -32049,6 +32049,38 @@
3204932049
{
3205032050
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/ExemptionRequestPushRuleset.php",
3205132051
"hash": "3b8f6b858114e5db7733ae72cfd9d732"
32052+
},
32053+
{
32054+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TeamRoleAssignment.php",
32055+
"hash": "11a8c12e429bd8014f651f87e3b8a681"
32056+
},
32057+
{
32058+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/UserRoleAssignment.php",
32059+
"hash": "f7e74fabd79dfe9d4e15ff3b97964563"
32060+
},
32061+
{
32062+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ProjectsV2SingleSelectOption.php",
32063+
"hash": "a5ba8e18f432b34f2f3a42461eb1e634"
32064+
},
32065+
{
32066+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ProjectsV2IterationSetting.php",
32067+
"hash": "a6ef8fcd56bf690b736b527cc6172e06"
32068+
},
32069+
{
32070+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet0CB51C69\/TietE939AB7B\/TietD52C4E0A\/Tiet05A5E968.php",
32071+
"hash": "81690ad65b88b4faae0461af26a5a2a8"
32072+
},
32073+
{
32074+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TeamRoleAssignment\/Permissions.php",
32075+
"hash": "d026cd920df893e78437de1fa55e4275"
32076+
},
32077+
{
32078+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/WebhookProjectsV2ItemEdited\/Changes\/Zero\/FieldValue\/From.php",
32079+
"hash": "1fa500ab09209bbcd66e90434414cfa6"
32080+
},
32081+
{
32082+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/WebhookProjectsV2ItemEdited\/Changes\/Zero\/FieldValue\/To.php",
32083+
"hash": "2184607286f85d2c712813cc2efc3c30"
3205232084
}
3205332085
]
3205432086
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Internal\Attribute\CastUnionToType\Schema\WebhookProjectsV2ItemEdited\Changes\Zero\FieldValue;
6+
7+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
8+
use Attribute;
9+
use EventSauce\ObjectHydrator\ObjectMapper;
10+
use EventSauce\ObjectHydrator\PropertyCaster;
11+
use Throwable;
12+
13+
use function array_keys;
14+
use function array_unique;
15+
use function implode;
16+
use function is_array;
17+
use function sort;
18+
19+
#[Attribute(Attribute::TARGET_PARAMETER)]
20+
final class From implements PropertyCaster
21+
{
22+
public function cast(mixed $value, ObjectMapper $hydrator): mixed
23+
{
24+
if (is_array($value)) {
25+
$signatureChunks = array_unique(array_keys($value));
26+
sort($signatureChunks);
27+
$signature = implode('|', $signatureChunks);
28+
if ($signature === 'color|description|id|name') {
29+
try {
30+
return $hydrator->hydrateObject(Schema\ProjectsV2SingleSelectOption::class, $value);
31+
} catch (Throwable) {
32+
}
33+
}
34+
35+
if ($signature === 'duration|id|start_date|title') {
36+
try {
37+
return $hydrator->hydrateObject(Schema\ProjectsV2IterationSetting::class, $value);
38+
} catch (Throwable) {
39+
}
40+
}
41+
}
42+
43+
return $value;
44+
}
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Internal\Attribute\CastUnionToType\Schema\WebhookProjectsV2ItemEdited\Changes\Zero\FieldValue;
6+
7+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
8+
use Attribute;
9+
use EventSauce\ObjectHydrator\ObjectMapper;
10+
use EventSauce\ObjectHydrator\PropertyCaster;
11+
use Throwable;
12+
13+
use function array_keys;
14+
use function array_unique;
15+
use function implode;
16+
use function is_array;
17+
use function sort;
18+
19+
#[Attribute(Attribute::TARGET_PARAMETER)]
20+
final class To implements PropertyCaster
21+
{
22+
public function cast(mixed $value, ObjectMapper $hydrator): mixed
23+
{
24+
if (is_array($value)) {
25+
$signatureChunks = array_unique(array_keys($value));
26+
sort($signatureChunks);
27+
$signature = implode('|', $signatureChunks);
28+
if ($signature === 'color|description|id|name') {
29+
try {
30+
return $hydrator->hydrateObject(Schema\ProjectsV2SingleSelectOption::class, $value);
31+
} catch (Throwable) {
32+
}
33+
}
34+
35+
if ($signature === 'duration|id|start_date|title') {
36+
try {
37+
return $hydrator->hydrateObject(Schema\ProjectsV2IterationSetting::class, $value);
38+
} catch (Throwable) {
39+
}
40+
}
41+
}
42+
43+
return $value;
44+
}
45+
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function createRequest(): RequestInterface
4747
return new Request('GET', str_replace(['{org}', '{role_id}', '{per_page}', '{page}'], [$this->org, $this->roleId, $this->perPage, $this->page], '/orgs/{org}/organization-roles/{role_id}/teams' . '?per_page={per_page}&page={page}'));
4848
}
4949

50-
/** @return Observable<Schema\Team>|WithoutBody */
50+
/** @return Observable<Schema\TeamRoleAssignment>|WithoutBody */
5151
public function createResponse(ResponseInterface $response): Observable|WithoutBody
5252
{
5353
$code = $response->getStatusCode();
@@ -60,12 +60,12 @@ public function createResponse(ResponseInterface $response): Observable|WithoutB
6060
* Response - List of assigned teams
6161
**/
6262
case 200:
63-
return Observable::fromArray($body, new ImmediateScheduler())->map(function (array $body): Schema\Team {
63+
return Observable::fromArray($body, new ImmediateScheduler())->map(function (array $body): Schema\TeamRoleAssignment {
6464
$error = new RuntimeException();
6565
try {
66-
$this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\Team::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
66+
$this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\TeamRoleAssignment::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
6767

68-
return $this->hydrator->hydrateObject(Schema\Team::class, $body);
68+
return $this->hydrator->hydrateObject(Schema\TeamRoleAssignment::class, $body);
6969
} catch (Throwable $error) {
7070
goto items_application_json_two_hundred_aaaaa;
7171
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function createRequest(): RequestInterface
4747
return new Request('GET', str_replace(['{org}', '{role_id}', '{per_page}', '{page}'], [$this->org, $this->roleId, $this->perPage, $this->page], '/orgs/{org}/organization-roles/{role_id}/teams' . '?per_page={per_page}&page={page}'));
4848
}
4949

50-
/** @return Observable<Schema\Team>|WithoutBody */
50+
/** @return Observable<Schema\TeamRoleAssignment>|WithoutBody */
5151
public function createResponse(ResponseInterface $response): Observable|WithoutBody
5252
{
5353
$code = $response->getStatusCode();
@@ -60,12 +60,12 @@ public function createResponse(ResponseInterface $response): Observable|WithoutB
6060
* Response - List of assigned teams
6161
**/
6262
case 200:
63-
return Observable::fromArray($body, new ImmediateScheduler())->map(function (array $body): Schema\Team {
63+
return Observable::fromArray($body, new ImmediateScheduler())->map(function (array $body): Schema\TeamRoleAssignment {
6464
$error = new RuntimeException();
6565
try {
66-
$this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\Team::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
66+
$this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\TeamRoleAssignment::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
6767

68-
return $this->hydrator->hydrateObject(Schema\Team::class, $body);
68+
return $this->hydrator->hydrateObject(Schema\TeamRoleAssignment::class, $body);
6969
} catch (Throwable $error) {
7070
goto items_application_json_two_hundred_aaaaa;
7171
}

0 commit comments

Comments
 (0)