Skip to content

Commit ca8f399

Browse files
authored
Merge pull request #1221 from php-api-clients/GitHub/from-1.1.4-81b4fcdf6c7b3f61c17f56a0c4f2231d-from-1.1.4-81b4fcdf6c7b3f61c17f56a0c4f2231d
2 parents bb1ebde + 1582b7a commit ca8f399

File tree

645 files changed

+3284
-1287
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

645 files changed

+3284
-1287
lines changed

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

Lines changed: 699 additions & 691 deletions
Large diffs are not rendered by default.

clients/GitHub/src/Internal/Operator/Users/GetById.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(int $accountId): PrivateUser|PublicUser
2930
{
3031
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Users\GetById($this->responseSchemaValidator, $this->hydrator, $accountId);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(private Routers $routers)
3030
{
3131
}
3232

33-
/** @return |Observable<Schema\IntegrationInstallationRequest>|WithoutBody|Observable<Schema\Installation>|Observable<Schema\BaseGist>|Observable<string>|Observable<Schema\MarketplaceListingPlan>|Observable<Schema\SimpleUser>|Observable<Schema\Email>|Observable<Schema\GpgKey>|Observable<Schema\Issue>|Observable<Schema\Key>|Observable<Schema\UserMarketplacePurchase>|Observable<Schema\Migration>|Observable<Schema\OrganizationSimple>|Observable<Schema\Package>|Observable<Schema\Repository>|Observable<Schema\RepositoryInvitation>|Observable<Schema\SocialAccount>|Observable<Schema\SshSigningKey>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamFull>|Schema\PrivateUser|Schema\PublicUser */
33+
/** @return |Observable<Schema\IntegrationInstallationRequest>|WithoutBody|Observable<Schema\Installation>|Observable<Schema\BaseGist>|Observable<string>|Observable<Schema\MarketplaceListingPlan>|Observable<Schema\SimpleUser>|Observable<Schema\Email>|Observable<Schema\GpgKey>|Observable<Schema\Issue>|Observable<Schema\Key>|Observable<Schema\UserMarketplacePurchase>|Observable<Schema\Migration>|Observable<Schema\OrganizationSimple>|Observable<Schema\Package>|Observable<Schema\Repository>|Observable<Schema\RepositoryInvitation>|Observable<Schema\SocialAccount>|Observable<Schema\SshSigningKey>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamFull> */
3434
public function call(string $call, array $params, array $pathChunks): GlobalAdvisory|iterable|WithoutBody|Integration|ClassroomAssignment|Classroom|CodeOfConduct|GistSimple|Ok|License|OrganizationFull|Project|\ApiClients\Client\GitHub\Schema\Operations\Search\Code\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Users\Response\ApplicationJson\Ok|TeamFull|Json|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|InteractionLimitResponse|One|PrivateUser|PublicUser
3535
{
3636
if ($pathChunks[0] === '') {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ public function listSshSigningKeysForAuthenticatedUser(array $params): iterable|
246246
return $operator->call($arguments['per_page'], $arguments['page']);
247247
}
248248

249+
/** @return */
249250
public function getById(array $params): PrivateUser|PublicUser
250251
{
251252
$arguments = [];

clients/GitHub/src/Operation/Users.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ public function deleteSshSigningKeyForAuthenticatedUser(int $sshSigningKeyId): W
262262
return $this->operators->users👷DeleteSshSigningKeyForAuthenticatedUser()->call($sshSigningKeyId);
263263
}
264264

265+
/** @return */
265266
public function getById(int $accountId): PrivateUser|PublicUser
266267
{
267268
return $this->operators->users👷GetById()->call($accountId);

clients/GitHub/src/PHPStan/ClientCallReturnTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4324,7 +4324,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
43244324
}
43254325

43264326
if ($call === 'GET /user/{account_id}') {
4327-
return $this->typeResolver->resolve('Schema\\PrivateUser|Schema\\PublicUser');
4327+
return $this->typeResolver->resolve('');
43284328
}
43294329

43304330
if ($call === 'GET /users') {

clients/GitHub/src/Schema/Activity.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
},
129129
"id": {
130130
"type": "integer",
131+
"format": "int64",
131132
"examples": [
132133
1
133134
]

clients/GitHub/src/Schema/AddedToProjectIssueEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
},
7878
"id": {
7979
"type": "integer",
80+
"format": "int64",
8081
"examples": [
8182
1
8283
]
@@ -306,6 +307,7 @@
306307
},
307308
"id": {
308309
"type": "integer",
310+
"format": "int64",
309311
"examples": [
310312
1
311313
]

clients/GitHub/src/Schema/AliasAbstract/Tiet8DEBB66D/Tiet2A47F452/TietC5A679D6/Tiet5CA4F097.php renamed to clients/GitHub/src/Schema/AliasAbstract/Tiet0D538F96/Tiet4A7F392D/Tiet9191A5B7/Tiet7B6C26BB.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
declare(strict_types=1);
44

5-
namespace ApiClients\Client\GitHub\Schema\AliasAbstract\Tiet8DEBB66D\Tiet2A47F452\TietC5A679D6;
5+
namespace ApiClients\Client\GitHub\Schema\AliasAbstract\Tiet0D538F96\Tiet4A7F392D\Tiet9191A5B7;
66

77
use ApiClients\Client\GitHub\Schema;
88
use EventSauce\ObjectHydrator\MapFrom;
99

10-
abstract readonly class Tiet5CA4F097
10+
abstract readonly class Tiet7B6C26BB
1111
{
1212
public const SCHEMA_JSON = '{
1313
"title": "Issue",
@@ -1187,7 +1187,8 @@
11871187
"format": "uri"
11881188
},
11891189
"id": {
1190-
"type": "integer"
1190+
"type": "integer",
1191+
"format": "int64"
11911192
},
11921193
"login": {
11931194
"type": "string"

clients/GitHub/src/Schema/AliasAbstract/Tiet4E185393/TietBDA2E772/Tiet8E84BE53/Tiet71E72B6A.php renamed to clients/GitHub/src/Schema/AliasAbstract/Tiet1F36541D/TietE8E8E0D0/TietBA97175F/TietDC150087.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
declare(strict_types=1);
44

5-
namespace ApiClients\Client\GitHub\Schema\AliasAbstract\Tiet4E185393\TietBDA2E772\Tiet8E84BE53;
5+
namespace ApiClients\Client\GitHub\Schema\AliasAbstract\Tiet1F36541D\TietE8E8E0D0\TietBA97175F;
66

77
use ApiClients\Client\GitHub\Schema;
88

9-
abstract readonly class Tiet71E72B6A
9+
abstract readonly class TietDC150087
1010
{
1111
public const SCHEMA_JSON = '{
1212
"required": [
@@ -695,7 +695,8 @@
695695
"format": "uri"
696696
},
697697
"id": {
698-
"type": "integer"
698+
"type": "integer",
699+
"format": "int64"
699700
},
700701
"login": {
701702
"type": "string"

0 commit comments

Comments
 (0)