Skip to content

Commit 18910af

Browse files
authored
Merge pull request #1323 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-197765ae314cd6366887510a47df29dc-from-1.1.4-197765ae314cd6366887510a47df29dc
2 parents 92e8368 + 5e77f25 commit 18910af

39 files changed

+23723
-25606
lines changed

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

Lines changed: 33 additions & 73 deletions
Large diffs are not rendered by default.

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/CodeScanning/Alerts/AlertNumber.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
135135
$value = $payload['state'] ?? null;
136136

137137
if ($value === null) {
138-
$missingFields[] = 'state';
138+
$properties['state'] = null;
139139
goto after_state;
140140
}
141141

@@ -1208,7 +1208,12 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
12081208
$instancesUrl = $object->instancesUrl;
12091209
after_instancesUrl: $result['instances_url'] = $instancesUrl;
12101210

1211-
$state = $object->state;
1211+
$state = $object->state;
1212+
1213+
if ($state === null) {
1214+
goto after_state;
1215+
}
1216+
12121217
after_state: $result['state'] = $state;
12131218

12141219
$fixedAt = $object->fixedAt;

0 commit comments

Comments
 (0)