Skip to content

Commit a0e3765

Browse files
authored
Merge pull request #1235 from php-api-clients/GitHub/from-1.1.4-ee23af97204cde51d4c62161bf274df2-from-1.1.4-ee23af97204cde51d4c62161bf274df2
2 parents 442d6ae + ba8c122 commit a0e3765

File tree

248 files changed

+1000
-1016
lines changed

Some content is hidden

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

248 files changed

+1000
-1016
lines changed

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

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

clients/GitHub/src/Internal/Operation/CodeSecurity/GetConfigurationsForOrg.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ final class GetConfigurationsForOrg
3333
private string $after;
3434
/**The target type of the code security configuration **/
3535
private string $targetType;
36-
/**'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)."'
37-
**/
36+
/**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)." **/
3837
private int $perPage;
3938

4039
public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\CodeSecurity\Configurations $hydrator, string $org, string $before, string $after, string $targetType = 'all', int $perPage = 30)

clients/GitHub/src/Internal/Operator/CodeSecurity/GetConfigurationsForOrg.php

Lines changed: 1 addition & 1 deletion
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\CodeSecurityConfiguration> */
27+
/** @return iterable<int,Schema\CodeSecurityConfiguration> */
2828
public function call(string $org, string $before, string $after, string $targetType = 'all', int $perPage = 30): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\CodeSecurity\GetConfigurationsForOrg($this->responseSchemaValidator, $this->hydrator, $org, $before, $after, $targetType, $perPage);

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

Lines changed: 1 addition & 1 deletion
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 iterable<int,Schema\RuleSuites> */
27+
/** @return Observable<Schema\RuleSuites> */
2828
public function call(string $org, string $ref, int $repositoryName, string $actorName, string $timePeriod = 'day', string $ruleSuiteResult = 'all', int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetOrgRuleSuites($this->responseSchemaValidator, $this->hydrator, $org, $ref, $repositoryName, $actorName, $timePeriod, $ruleSuiteResult, $perPage, $page);

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

Lines changed: 1 addition & 1 deletion
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 iterable<int,Schema\RuleSuites> */
27+
/** @return Observable<Schema\RuleSuites> */
2828
public function call(string $org, string $ref, int $repositoryName, string $actorName, string $timePeriod = 'day', string $ruleSuiteResult = 'all', int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetOrgRuleSuitesListing($this->responseSchemaValidator, $this->hydrator, $org, $ref, $repositoryName, $actorName, $timePeriod, $ruleSuiteResult, $perPage, $page);

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

Lines changed: 1 addition & 1 deletion
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 iterable<int,Schema\RuleSuites> */
27+
/** @return Observable<Schema\RuleSuites> */
2828
public function call(string $owner, string $repo, string $ref, string $actorName, string $timePeriod = 'day', string $ruleSuiteResult = 'all', int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetRepoRuleSuites($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $ref, $actorName, $timePeriod, $ruleSuiteResult, $perPage, $page);

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

Lines changed: 1 addition & 1 deletion
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 iterable<int,Schema\RuleSuites> */
27+
/** @return Observable<Schema\RuleSuites> */
2828
public function call(string $owner, string $repo, string $ref, string $actorName, string $timePeriod = 'day', string $ruleSuiteResult = 'all', int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetRepoRuleSuitesListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $ref, $actorName, $timePeriod, $ruleSuiteResult, $perPage, $page);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri
2121
{
2222
}
2323

24-
/** @return Observable<Schema\CodeSecurityConfiguration> */
24+
/** @return iterable<int,Schema\CodeSecurityConfiguration> */
2525
public function getConfigurationsForOrg(array $params): iterable
2626
{
2727
$arguments = [];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct(private Routers $routers)
5050
{
5151
}
5252

53-
/** @return |Observable<Schema\CopilotUsageMetrics>|Observable<Schema\DependabotAlertWithRepository>|WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|Observable<Schema\CodeScanningOrganizationAlertItems>|Observable<Schema\CodeSecurityConfiguration>|Observable<Schema\Package>|Observable<Schema\OrgCustomProperty>|Observable<Schema\OrgRepoCustomPropertyValues>|iterable<int,Schema\RuleSuites>|Observable<Schema\ProjectCard>|Observable<Schema\Activity>|Observable<Schema\SimpleUser>|Observable<Schema\Autolink>|Observable<Schema\ShortBranch>|Observable<Schema\Collaborator>|Observable<Schema\CommitComment>|Observable<Schema\Commit>|Observable<Schema\Contributor>|Observable<Schema\Deployment>|Observable<Schema\MinimalRepository>|Observable<Schema\Hook>|Observable<Schema\RepositoryInvitation>|Observable<Schema\Issue>|Observable<Schema\DeployKey>|Observable<Schema\Label>|Observable<Schema\Milestone>|Observable<Schema\Thread>|Observable<Schema\Project>|Observable<Schema\PullRequestSimple>|Observable<Schema\Release>|Observable<Schema\RepositoryRuleset>|Observable<Schema\RepositoryAdvisory>|Observable<Schema\Tag>|Observable<Schema\Team> */
53+
/** @return |Observable<Schema\CopilotUsageMetrics>|Observable<Schema\DependabotAlertWithRepository>|WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|Observable<Schema\CodeScanningOrganizationAlertItems>|iterable<int,Schema\CodeSecurityConfiguration>|Observable<Schema\Package>|Observable<Schema\OrgCustomProperty>|Observable<Schema\OrgRepoCustomPropertyValues>|Observable<Schema\RuleSuites>|Observable<Schema\ProjectCard>|Observable<Schema\Activity>|Observable<Schema\SimpleUser>|Observable<Schema\Autolink>|Observable<Schema\ShortBranch>|Observable<Schema\Collaborator>|Observable<Schema\CommitComment>|Observable<Schema\Commit>|Observable<Schema\Contributor>|Observable<Schema\Deployment>|Observable<Schema\MinimalRepository>|Observable<Schema\Hook>|Observable<Schema\RepositoryInvitation>|Observable<Schema\Issue>|Observable<Schema\DeployKey>|Observable<Schema\Label>|Observable<Schema\Milestone>|Observable<Schema\Thread>|Observable<Schema\Project>|Observable<Schema\PullRequestSimple>|Observable<Schema\Release>|Observable<Schema\RepositoryRuleset>|Observable<Schema\RepositoryAdvisory>|Observable<Schema\Tag>|Observable<Schema\Team> */
5454
public function call(string $call, array $params, array $pathChunks): HookDelivery|iterable|WithoutBody|GistComment|MarketplacePurchase|BasicError|ThreadSubscription|ActionsOrganizationPermissions|Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CopilotOrganizationDetails|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|OrgHook|OrgMembership|Migration|OrganizationRole|RepositoryRuleset|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Import|Installation|InteractionLimitResponse|One|Language|LicenseContent|Page|\ApiClients\Client\GitHub\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package|\ApiClients\Client\GitHub\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok|EmptyObject
5555
{
5656
if ($pathChunks[0] === '') {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public function listForUser(array $params): iterable
303303
return $operator->call($arguments['username'], $arguments['direction'], $arguments['type'], $arguments['sort'], $arguments['per_page'], $arguments['page']);
304304
}
305305

306-
/** @return iterable<int,Schema\RuleSuites> */
306+
/** @return Observable<Schema\RuleSuites> */
307307
public function getOrgRuleSuites(array $params): iterable
308308
{
309309
$arguments = [];
@@ -1824,7 +1824,7 @@ public function getRelease(array $params): Release|WithoutBody
18241824
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['release_id']);
18251825
}
18261826

1827-
/** @return iterable<int,Schema\RuleSuites> */
1827+
/** @return Observable<Schema\RuleSuites> */
18281828
public function getRepoRuleSuites(array $params): iterable
18291829
{
18301830
$arguments = [];

0 commit comments

Comments
 (0)