Skip to content

Commit b1467b6

Browse files
authored
Merge pull request #1541 from php-api-clients/GitHub/from-1.1.4-a073e1a053477690d506f42cadb2ee51-from-1.1.4-a073e1a053477690d506f42cadb2ee51
2 parents 648d3b5 + 813a3fa commit b1467b6

33 files changed

+194
-168
lines changed

clients/GitHub/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -24370,6 +24370,7 @@ Using the `call` method:
2437024370
$client->call('GET /search/issues', [
2437124371
'q' => 'generated',
2437224372
'sort' => 'generated',
24373+
'advanced_search' => 'generated',
2437324374
'order' => 'generated',
2437424375
'per_page' => 8,
2437524376
'page' => 1,
@@ -24380,6 +24381,7 @@ Operations method:
2438024381
```php
2438124382
$client->operations()->search()->issuesAndPullRequests( q: 'generated',
2438224383
sort: 'generated',
24384+
advanced_search: 'generated',
2438324385
order: 'generated',
2438424386
per_page: 8,
2438524387
page: 1,

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

+34-34
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "dbba2c62a8f04380c590a1aa0d1194e8",
2+
"specHash": "a073e1a053477690d506f42cadb2ee51",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5512,7 +5512,7 @@
55125512
},
55135513
{
55145514
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Meta.php",
5515-
"hash": "a8fadfb42bcf3fccda0029ce0998b2a3"
5515+
"hash": "9779fe2949bb9405bca9854edf4f271a"
55165516
},
55175517
{
55185518
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Apps.php",
@@ -5560,7 +5560,7 @@
55605560
},
55615561
{
55625562
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Orgs.php",
5563-
"hash": "695e7f654b236bf55bd59f644bc85f92"
5563+
"hash": "9ff8ef5f3ac93cbfcd5941949b799b0f"
55645564
},
55655565
{
55665566
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Actions.php",
@@ -5596,7 +5596,7 @@
55965596
},
55975597
{
55985598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php",
5599-
"hash": "3fb22944280b64413803e036e9ad3dfe"
5599+
"hash": "ea690e98de5ba63a3bee3eec9caaceba"
56005600
},
56015601
{
56025602
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php",
@@ -5620,7 +5620,7 @@
56205620
},
56215621
{
56225622
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/DependencyGraph.php",
5623-
"hash": "8d5ee75ad1579f7a6399f58316194408"
5623+
"hash": "612e229e05512ef891ac681f6485361c"
56245624
},
56255625
{
56265626
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Git.php",
@@ -5636,11 +5636,11 @@
56365636
},
56375637
{
56385638
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Search.php",
5639-
"hash": "ce193ba85d9428d03c8e8bf1abc64370"
5639+
"hash": "0ac313bb9a9b8c63de4c07384be61560"
56405640
},
56415641
{
56425642
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Users.php",
5643-
"hash": "6d754fc63bd5c19322e1424866bbc979"
5643+
"hash": "bd59faf2cdcd7a410b95fdd7afa58cce"
56445644
},
56455645
{
56465646
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operations.php",
@@ -11966,10 +11966,6 @@
1196611966
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet8CA88D83\/TietC1EE26A8\/TietDBE5B00E\/Tiet036221B4.php",
1196711967
"hash": "24bac67277dec31a06779052b7ad4e2b"
1196811968
},
11969-
{
11970-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Meta\/GetZen\/Response\/ApplicationJson\/Ok.php",
11971-
"hash": "33dbe3112db7067cdbd2458bc6ab4658"
11972-
},
1197311969
{
1197411970
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet81BFFF8F\/TietA44BD2D8\/TietB023CB5D\/TietC6A01FD3.php",
1197511971
"hash": "62c671d9770bf749015df8881d3df2ae"
@@ -18356,11 +18352,11 @@
1835618352
},
1835718353
{
1835818354
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/DependencyGraph\/DiffRange.php",
18359-
"hash": "116456e8ee30ac3bd11fdc3b278103f8"
18355+
"hash": "9c84c35a2347dc64c1da46d2708e9aad"
1836018356
},
1836118357
{
1836218358
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/DependencyGraph\/DiffRange.php",
18363-
"hash": "9b7112069d64718668252811679c0989"
18359+
"hash": "a0cfc3522c0c7ca8f8f605cc272b759e"
1836418360
},
1836518361
{
1836618362
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/DependencyGraph\/DiffRangeTest.php",
@@ -21636,15 +21632,15 @@
2163621632
},
2163721633
{
2163821634
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Search\/IssuesAndPullRequests.php",
21639-
"hash": "2a02b8f9817e0165c0d72d87213d5b21"
21635+
"hash": "d3c90785807fc307e13e3ff0328254d8"
2164021636
},
2164121637
{
2164221638
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Search\/IssuesAndPullRequests.php",
21643-
"hash": "1de1ca96a9dd5f68cba24b233620c9fd"
21639+
"hash": "8d8c6323f4f70063d918f6b54bcb5ac7"
2164421640
},
2164521641
{
2164621642
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Search\/IssuesAndPullRequestsTest.php",
21647-
"hash": "9735e520b08cecb78b9de0250204cbaf"
21643+
"hash": "9bee95fbf3423db81898cbfc93b124cc"
2164821644
},
2164921645
{
2165021646
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Search\/Labels.php",
@@ -24192,11 +24188,11 @@
2419224188
},
2419324189
{
2419424190
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Meta\/GetZen.php",
24195-
"hash": "2a520e0702187499211e65b373b80647"
24191+
"hash": "53961aa99444148e636c24acb1fa38cc"
2419624192
},
2419724193
{
2419824194
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Meta\/GetZen.php",
24199-
"hash": "6fd197b64372f1b58a5a4d45d5b2104f"
24195+
"hash": "af04fdf352b7a39345928b17ff062d1a"
2420024196
},
2420124197
{
2420224198
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Meta\/GetZenTest.php",
@@ -24304,7 +24300,7 @@
2430424300
},
2430524301
{
2430624302
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Meta.php",
24307-
"hash": "046309f575570b6279056bc5b08b68d8"
24303+
"hash": "93a7aad455601f0ca895437859d44aad"
2430824304
},
2430924305
{
2431024306
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
@@ -24340,19 +24336,19 @@
2434024336
},
2434124337
{
2434224338
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php",
24343-
"hash": "6f0d89f4cd88ad21227236ff5964d06e"
24339+
"hash": "abb04bf1621cb43991f9573fc596839f"
2434424340
},
2434524341
{
2434624342
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php",
2434724343
"hash": "ba9a8386126fb4da0bb3d4ee7706553e"
2434824344
},
2434924345
{
2435024346
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
24351-
"hash": "c7992938e3f0e1003ecd051d4ff8df26"
24347+
"hash": "f3c057e95467f78b518e207d78fb7676"
2435224348
},
2435324349
{
2435424350
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php",
24355-
"hash": "8ebacf183493e00214f8ab9198f1e2bf"
24351+
"hash": "73bb3c82d5f0f1a9fae92b7134a1966f"
2435624352
},
2435724353
{
2435824354
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Gitignore.php",
@@ -24364,7 +24360,7 @@
2436424360
},
2436524361
{
2436624362
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Search.php",
24367-
"hash": "08604c1bd61ffd5ddd74e339d86c3d5b"
24363+
"hash": "26b5fb4bac208cd077d9389386b9426f"
2436824364
},
2436924365
{
2437024366
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Teams.php",
@@ -24420,7 +24416,7 @@
2442024416
},
2442124417
{
2442224418
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/DependencyGraph.php",
24423-
"hash": "f86f383f6a7241fd49483c83f6cf2c64"
24419+
"hash": "d2965532c55455ebd6793fe1bb999ddc"
2442424420
},
2442524421
{
2442624422
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Reactions.php",
@@ -24828,27 +24824,27 @@
2482824824
},
2482924825
{
2483024826
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
24831-
"hash": "3eeaba9defd38317f28edc94eec69799"
24827+
"hash": "bb13b58b26a8cfc42d87084c46549183"
2483224828
},
2483324829
{
2483424830
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Three.php",
24835-
"hash": "1aec261782a0e1d7ce8e1e29f3ce6865"
24831+
"hash": "ffd42cd855658b552d8f4010a751c623"
2483624832
},
2483724833
{
2483824834
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Four.php",
2483924835
"hash": "18a08639d99cec6fb1771a5fd26fd9e4"
2484024836
},
2484124837
{
2484224838
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
24843-
"hash": "3dd3a71306c325dd0e6c0c1e12eac13d"
24839+
"hash": "f5ec8d2962554a8e1637fe776cd73689"
2484424840
},
2484524841
{
2484624842
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
24847-
"hash": "0dedecb0bde849fc814accbaad7a04a1"
24843+
"hash": "1f657d72925483e30400b4d03125ecaa"
2484824844
},
2484924845
{
2485024846
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
24851-
"hash": "d344dc282b0dbc9a24f0a51d85a03ba7"
24847+
"hash": "0f367f9aa206c1664be274e41030f4a0"
2485224848
},
2485324849
{
2485424850
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php",
@@ -27620,11 +27616,11 @@
2762027616
},
2762127617
{
2762227618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27623-
"hash": "3cf3389635062d23bf72904e661b2699"
27619+
"hash": "fe8e1d2227a7764bdda061ccbe9c166e"
2762427620
},
2762527621
{
2762627622
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27627-
"hash": "5ba771895fb7aadea8a950dd21e82651"
27623+
"hash": "9715a398f9dfff90f517d6f82f73324b"
2762827624
},
2762927625
{
2763027626
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -29632,7 +29628,7 @@
2963229628
},
2963329629
{
2963429630
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListAttestations.php",
29635-
"hash": "2d766a715f628121c6ba70514b2ef30f"
29631+
"hash": "85c215763dfbed6b54f3ea2075e990f9"
2963629632
},
2963729633
{
2963829634
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListAttestationsTest.php",
@@ -29656,7 +29652,7 @@
2965629652
},
2965729653
{
2965829654
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListAttestations.php",
29659-
"hash": "8cc1aa693b8e8bce669b8609cf7030bc"
29655+
"hash": "7b606f10e5101a2056693dcba76cbc48"
2966029656
},
2966129657
{
2966229658
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListAttestationsTest.php",
@@ -29668,7 +29664,7 @@
2966829664
},
2966929665
{
2967029666
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Users\/ListAttestations.php",
29671-
"hash": "066145832665cc62ea794ffb58f9ac4c"
29667+
"hash": "8772716765fcbd0a3855ad28e27392f7"
2967229668
},
2967329669
{
2967429670
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Users\/ListAttestationsTest.php",
@@ -31925,6 +31921,10 @@
3192531921
{
3192631922
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Users\/ListAttestations\/Response\/ApplicationJson\/Ok\/Application\/Json\/Attestations\/Bundle\/DsseEnvelope.php",
3192731923
"hash": "d26dbfbaa1f1ea1e1537684dd2f65460"
31924+
},
31925+
{
31926+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Meta\/GetZen\/Response\/TextPlain\/Ok.php",
31927+
"hash": "7656684774f37ff42b47489d35ac9737"
3192831928
}
3192931929
]
3193031930
},

clients/GitHub/src/Internal/Operation/DependencyGraph/DiffRange.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function createResponse(ResponseInterface $response): Observable
8282

8383
throw new ErrorSchemas\BasicError(404, $this->hydrator->hydrateObject(Schema\BasicError::class, $body));
8484
/**
85-
* Response if GitHub Advanced Security is not enabled for this repository
85+
* Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork
8686
**/
8787

8888
case 403:

clients/GitHub/src/Internal/Operation/Meta/GetZen.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use RuntimeException;
1313

1414
use function explode;
15-
use function json_decode;
1615
use function str_replace;
1716

1817
final class GetZen
@@ -34,8 +33,8 @@ public function createResponse(ResponseInterface $response): string
3433
$code = $response->getStatusCode();
3534
[$contentType] = explode(';', $response->getHeaderLine('Content-Type'));
3635
switch ($contentType) {
37-
case 'application/json':
38-
$body = json_decode($response->getBody()->getContents(), true);
36+
case 'text/plain':
37+
$body = $response->getBody()->getContents();
3938
switch ($code) {
4039
case 200:
4140
return $body;

clients/GitHub/src/Internal/Operation/Search/IssuesAndPullRequests.php

+11-7
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,29 @@ final class IssuesAndPullRequests
2727
private string $q;
2828
/**Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`, Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) **/
2929
private string $sort;
30+
/**Set to `true` to use advanced search.
31+
Example: `http://api.github.com/search/issues?q={query}&advanced_search=true` **/
32+
private string $advancedSearch;
3033
/**Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. **/
3134
private string $order;
3235
/**The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/
3336
private int $perPage;
3437
/**The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/
3538
private int $page;
3639

37-
public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Search\Issues $hydrator, string $q, string $sort, string $order = 'desc', int $perPage = 30, int $page = 1)
40+
public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Search\Issues $hydrator, string $q, string $sort, string $advancedSearch, string $order = 'desc', int $perPage = 30, int $page = 1)
3841
{
39-
$this->q = $q;
40-
$this->sort = $sort;
41-
$this->order = $order;
42-
$this->perPage = $perPage;
43-
$this->page = $page;
42+
$this->q = $q;
43+
$this->sort = $sort;
44+
$this->advancedSearch = $advancedSearch;
45+
$this->order = $order;
46+
$this->perPage = $perPage;
47+
$this->page = $page;
4448
}
4549

4650
public function createRequest(): RequestInterface
4751
{
48-
return new Request('GET', str_replace(['{q}', '{sort}', '{order}', '{per_page}', '{page}'], [$this->q, $this->sort, $this->order, $this->perPage, $this->page], '/search/issues' . '?q={q}&sort={sort}&order={order}&per_page={per_page}&page={page}'));
52+
return new Request('GET', str_replace(['{q}', '{sort}', '{advanced_search}', '{order}', '{per_page}', '{page}'], [$this->q, $this->sort, $this->advancedSearch, $this->order, $this->perPage, $this->page], '/search/issues' . '?q={q}&sort={sort}&advanced_search={advanced_search}&order={order}&per_page={per_page}&page={page}'));
4953
}
5054

5155
public function createResponse(ResponseInterface $response): Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|WithoutBody

clients/GitHub/src/Internal/Operator/DependencyGraph/DiffRange.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 Observable<Schema\DependencyGraphDiff> */
27+
/** @return iterable<int,Schema\DependencyGraphDiff> */
2828
public function call(string $owner, string $repo, string $basehead, string $name): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\DependencyGraph\DiffRange($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $basehead, $name);

clients/GitHub/src/Internal/Operator/Meta/GetZen.php

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

26-
/** @return */
2726
public function call(): string
2827
{
2928
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Meta\GetZen($this->responseSchemaValidator, $this->hydrator);

clients/GitHub/src/Internal/Operator/Orgs/ListAttestations.php

+1
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 $before, string $after, string $org, string $subjectDigest, string $predicateType, int $perPage = 30): Ok
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\ListAttestations($this->responseSchemaValidator, $this->hydrator, $before, $after, $org, $subjectDigest, $predicateType, $perPage);

clients/GitHub/src/Internal/Operator/Repos/ListAttestations.php

+1
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 $owner, string $repo, string $before, string $after, string $subjectDigest, string $predicateType, int $perPage = 30): Json
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\ListAttestations($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $before, $after, $subjectDigest, $predicateType, $perPage);

clients/GitHub/src/Internal/Operator/Search/IssuesAndPullRequests.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return */
29-
public function call(string $q, string $sort, string $order = 'desc', int $perPage = 30, int $page = 1): Ok|WithoutBody
28+
public function call(string $q, string $sort, string $advancedSearch, string $order = 'desc', int $perPage = 30, int $page = 1): Ok|WithoutBody
3029
{
31-
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Search\IssuesAndPullRequests($this->responseSchemaValidator, $this->hydrator, $q, $sort, $order, $perPage, $page);
30+
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Search\IssuesAndPullRequests($this->responseSchemaValidator, $this->hydrator, $q, $sort, $advancedSearch, $order, $perPage, $page);
3231
$request = $operation->createRequest();
3332
$result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): Ok|WithoutBody {
3433
return $operation->createResponse($response);

clients/GitHub/src/Internal/Operator/Users/ListAttestations.php

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

29+
/** @return */
2930
public function call(string $before, string $after, string $username, string $subjectDigest, string $predicateType, int $perPage = 30): Json|EmptyObject|WithoutBody
3031
{
3132
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Users\ListAttestations($this->responseSchemaValidator, $this->hydrator, $before, $after, $username, $subjectDigest, $predicateType, $perPage);

0 commit comments

Comments
 (0)