Skip to content

Commit 7627f4a

Browse files
authored
Merge pull request #754 from php-api-clients/GitHubEnterprise-3.9/from-1.1.4-f42c44cfeb1393d6f9230ebb01f15184-from-1.1.4-f42c44cfeb1393d6f9230ebb01f15184
2 parents e95157f + a68ef85 commit 7627f4a

Some content is hidden

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

42 files changed

+112
-127
lines changed

clients/GitHubEnterprise-3.9/etc/openapi-client-generator.state

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

clients/GitHubEnterprise-3.9/src/Client.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

clients/GitHubEnterprise-3.9/src/ClientInterface.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

clients/GitHubEnterprise-3.9/src/Internal/Operator/EnterpriseAdmin/GetGlobalWebhook.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace ApiClients\Client\GitHubEnterprise\Internal\Operator\EnterpriseAdmin;
66

77
use ApiClients\Client\GitHubEnterprise\Internal;
8-
use ApiClients\Client\GitHubEnterprise\Schema;
98
use ApiClients\Client\GitHubEnterprise\Schema\GlobalHook;
109
use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface;
1110
use League\OpenAPIValidation\Schema\SchemaValidator;
@@ -25,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2524
{
2625
}
2726

28-
/** @return Schema\GlobalHook */
27+
/** @return */
2928
public function call(int $hookId): GlobalHook|array
3029
{
3130
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\GetGlobalWebhook($this->responseSchemaValidator, $this->hydrator, $hookId);

clients/GitHubEnterprise-3.9/src/Internal/Operator/EnterpriseAdmin/UpdateGlobalWebhook.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace ApiClients\Client\GitHubEnterprise\Internal\Operator\EnterpriseAdmin;
66

77
use ApiClients\Client\GitHubEnterprise\Internal;
8-
use ApiClients\Client\GitHubEnterprise\Schema;
98
use ApiClients\Client\GitHubEnterprise\Schema\GlobalHook2;
109
use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface;
1110
use League\OpenAPIValidation\Schema\SchemaValidator;
@@ -25,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2524
{
2625
}
2726

28-
/** @return Schema\GlobalHook2 */
27+
/** @return */
2928
public function call(int $hookId, array $params): GlobalHook2|array
3029
{
3130
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\UpdateGlobalWebhook($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $hookId);

clients/GitHubEnterprise-3.9/src/Internal/Operator/Orgs/GetWebhook.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace ApiClients\Client\GitHubEnterprise\Internal\Operator\Orgs;
66

77
use ApiClients\Client\GitHubEnterprise\Internal;
8-
use ApiClients\Client\GitHubEnterprise\Schema;
98
use ApiClients\Client\GitHubEnterprise\Schema\OrgHook;
109
use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface;
1110
use League\OpenAPIValidation\Schema\SchemaValidator;
@@ -25,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2524
{
2625
}
2726

28-
/** @return Schema\OrgHook */
27+
/** @return */
2928
public function call(string $org, int $hookId): OrgHook|array
3029
{
3130
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Orgs\GetWebhook($this->responseSchemaValidator, $this->hydrator, $org, $hookId);

clients/GitHubEnterprise-3.9/src/Internal/Operator/Orgs/GetWebhookConfigForOrg.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace ApiClients\Client\GitHubEnterprise\Internal\Operator\Orgs;
66

77
use ApiClients\Client\GitHubEnterprise\Internal;
8-
use ApiClients\Client\GitHubEnterprise\Schema;
98
use ApiClients\Client\GitHubEnterprise\Schema\WebhookConfig;
109
use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface;
1110
use League\OpenAPIValidation\Schema\SchemaValidator;
@@ -25,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2524
{
2625
}
2726

28-
/** @return Schema\WebhookConfig */
27+
/** @return */
2928
public function call(string $org, int $hookId): WebhookConfig|array
3029
{
3130
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Orgs\GetWebhookConfigForOrg($this->responseSchemaValidator, $this->hydrator, $org, $hookId);

clients/GitHubEnterprise-3.9/src/Internal/Operator/Orgs/GetWebhookDelivery.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace ApiClients\Client\GitHubEnterprise\Internal\Operator\Orgs;
66

77
use ApiClients\Client\GitHubEnterprise\Internal;
8-
use ApiClients\Client\GitHubEnterprise\Schema;
98
use ApiClients\Client\GitHubEnterprise\Schema\HookDelivery;
109
use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface;
1110
use League\OpenAPIValidation\Schema\SchemaValidator;
@@ -25,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2524
{
2625
}
2726

28-
/** @return Schema\HookDelivery */
27+
/** @return */
2928
public function call(string $org, int $hookId, int $deliveryId): HookDelivery|array
3029
{
3130
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Orgs\GetWebhookDelivery($this->responseSchemaValidator, $this->hydrator, $org, $hookId, $deliveryId);

clients/GitHubEnterprise-3.9/src/Internal/Operator/Orgs/ListWebhookDeliveries.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<Schema\HookDeliveryItem> */
27+
/** @return Observable<Schema\HookDeliveryItem> */
2828
public function call(string $org, int $hookId, string $cursor, bool $redelivery, int $perPage = 30): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Orgs\ListWebhookDeliveries($this->responseSchemaValidator, $this->hydrator, $org, $hookId, $cursor, $redelivery, $perPage);

clients/GitHubEnterprise-3.9/src/Internal/Operator/Orgs/RedeliverWebhookDelivery.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace ApiClients\Client\GitHubEnterprise\Internal\Operator\Orgs;
66

77
use ApiClients\Client\GitHubEnterprise\Internal;
8-
use ApiClients\Client\GitHubEnterprise\Schema;
98
use ApiClients\Client\GitHubEnterprise\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json;
109
use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface;
1110
use League\OpenAPIValidation\Schema\SchemaValidator;
@@ -25,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2524
{
2625
}
2726

28-
/** @return Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json */
27+
/** @return */
2928
public function call(string $org, int $hookId, int $deliveryId): Json|array
3029
{
3130
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Orgs\RedeliverWebhookDelivery($this->responseSchemaValidator, $this->hydrator, $org, $hookId, $deliveryId);

0 commit comments

Comments
 (0)