From 3e1609ae09e3fcd1b569d365937d89bbb97cb185 Mon Sep 17 00:00:00 2001 From: Vaggelis Yfantis Date: Wed, 26 Jun 2024 22:14:20 +0300 Subject: [PATCH] chore: Format files and added format script --- composer.json | 3 ++ rector.php | 28 +++++++++---------- src/ClerkBackendBuilder.php | 3 +- src/Models/Components/Actor.php | 4 +-- src/Models/Components/ActorTokenActor.php | 4 +-- src/Models/Components/Claims.php | 4 +-- src/Models/Components/ClerkErrorsMeta.php | 4 +-- src/Models/Components/ExternalAccount.php | 4 +-- src/Models/Components/ExternalAccounts.php | 4 +-- .../Components/InvitationPublicMetadata.php | 4 +-- .../InvitationRevokedPublicMetadata.php | 4 +-- src/Models/Components/Meta.php | 4 +-- .../OrganizationInvitationPrivateMetadata.php | 4 +-- .../OrganizationInvitationPublicMetadata.php | 4 +-- ...nMembershipOrganizationPrivateMetadata.php | 4 +-- ...onMembershipOrganizationPublicMetadata.php | 4 +-- .../OrganizationMembershipPrivateMetadata.php | 4 +-- .../OrganizationMembershipPublicMetadata.php | 4 +-- .../OrganizationPrivateMetadata.php | 4 +-- .../Components/OrganizationPublicMetadata.php | 4 +-- .../OrganizationWithLogoPrivateMetadata.php | 4 +-- .../OrganizationWithLogoPublicMetadata.php | 4 +-- src/Models/Components/PrivateMetadata.php | 4 +-- src/Models/Components/PublicMetadata.php | 4 +-- .../Components/SAMLAccountPublicMetadata.php | 4 +-- .../Components/SignUpPublicMetadata.php | 4 +-- .../Components/SignUpUnsafeMetadata.php | 4 +-- src/Models/Components/UnsafeMetadata.php | 4 +-- src/Models/Components/Verifications.php | 4 +-- src/Models/Operations/Actor.php | 4 +-- src/Models/Operations/Claims.php | 4 +-- .../CreateInvitationPublicMetadata.php | 4 +-- ...anizationInvitationBulkPrivateMetadata.php | 4 +-- ...ganizationInvitationBulkPublicMetadata.php | 4 +-- ...eOrganizationInvitationPrivateMetadata.php | 4 +-- ...teOrganizationInvitationPublicMetadata.php | 4 +-- .../CreateOrganizationPrivateMetadata.php | 4 +-- .../CreateOrganizationPublicMetadata.php | 4 +-- .../GetOAuthAccessTokenPublicMetadata.php | 4 +-- ...rgeOrganizationMetadataPrivateMetadata.php | 4 +-- ...ergeOrganizationMetadataPublicMetadata.php | 4 +-- .../PreviewTemplateResponseBody.php | 4 +-- src/Models/Operations/PrivateMetadata.php | 4 +-- src/Models/Operations/PublicMetadata.php | 4 +-- src/Models/Operations/UnsafeMetadata.php | 4 +-- .../Operations/UpdateJWTTemplateClaims.php | 4 +-- ...ationMembershipMetadataPrivateMetadata.php | 4 +-- ...zationMembershipMetadataPublicMetadata.php | 4 +-- .../UpdateOrganizationPrivateMetadata.php | 4 +-- .../UpdateOrganizationPublicMetadata.php | 4 +-- .../Operations/UpdateUserPrivateMetadata.php | 4 +-- .../Operations/UpdateUserPublicMetadata.php | 4 +-- .../Operations/UpdateUserUnsafeMetadata.php | 4 +-- src/Utils/FormMetadata.php | 3 +- src/Utils/MultipartMetadata.php | 3 +- src/Utils/ParamsMetadata.php | 3 +- src/Utils/RequestMetadata.php | 3 +- src/Utils/SecurityClient.php | 3 +- src/Utils/SecurityMetadata.php | 3 +- src/Utils/SpeakeasyMetadata.php | 3 +- 60 files changed, 75 insertions(+), 180 deletions(-) diff --git a/composer.json b/composer.json index 67366ed..ab3192c 100644 --- a/composer.json +++ b/composer.json @@ -32,6 +32,9 @@ ], "stan": [ "./vendor/bin/phpstan analyse --memory-limit=2g" + ], + "format": [ + "./vendor/bin/pint" ] }, "script-descriptions": { diff --git a/rector.php b/rector.php index 606164e..86b4277 100644 --- a/rector.php +++ b/rector.php @@ -10,20 +10,20 @@ use Rector\Set\ValueObject\SetList; return static function (RectorConfig $rectorConfig): void { - $rectorConfig->paths([ - __DIR__ . '/src', - ]); + $rectorConfig->paths([ + __DIR__.'/src', + ]); - $rectorConfig->rules([ - InlineConstructorDefaultToPropertyRector::class, - ]); + $rectorConfig->rules([ + InlineConstructorDefaultToPropertyRector::class, + ]); - $rectorConfig->sets([ - LevelSetList::UP_TO_PHP_82, - SetList::CODE_QUALITY, - SetList::DEAD_CODE, - SetList::EARLY_RETURN, - SetList::TYPE_DECLARATION, - SetList::PRIVATIZATION, - ]); + $rectorConfig->sets([ + LevelSetList::UP_TO_PHP_82, + SetList::CODE_QUALITY, + SetList::DEAD_CODE, + SetList::EARLY_RETURN, + SetList::TYPE_DECLARATION, + SetList::PRIVATIZATION, + ]); }; diff --git a/src/ClerkBackendBuilder.php b/src/ClerkBackendBuilder.php index 9189e1a..b225407 100644 --- a/src/ClerkBackendBuilder.php +++ b/src/ClerkBackendBuilder.php @@ -15,8 +15,7 @@ class ClerkBackendBuilder { public function __construct( private SDKConfiguration $sdkConfig = new SDKConfiguration(), - ) { - } + ) {} /** * setClient allows setting a custom Guzzle client for the SDK to make requests with. diff --git a/src/Models/Components/Actor.php b/src/Models/Components/Actor.php index 889ce12..107bce4 100644 --- a/src/Models/Components/Actor.php +++ b/src/Models/Components/Actor.php @@ -11,7 +11,5 @@ class Actor { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/ActorTokenActor.php b/src/Models/Components/ActorTokenActor.php index a494939..e29c09b 100644 --- a/src/Models/Components/ActorTokenActor.php +++ b/src/Models/Components/ActorTokenActor.php @@ -11,7 +11,5 @@ class ActorTokenActor { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/Claims.php b/src/Models/Components/Claims.php index 5475f63..070e667 100644 --- a/src/Models/Components/Claims.php +++ b/src/Models/Components/Claims.php @@ -11,7 +11,5 @@ class Claims { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/ClerkErrorsMeta.php b/src/Models/Components/ClerkErrorsMeta.php index 1c657ff..8088b83 100644 --- a/src/Models/Components/ClerkErrorsMeta.php +++ b/src/Models/Components/ClerkErrorsMeta.php @@ -11,7 +11,5 @@ class ClerkErrorsMeta { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/ExternalAccount.php b/src/Models/Components/ExternalAccount.php index 33dcb11..7493ac7 100644 --- a/src/Models/Components/ExternalAccount.php +++ b/src/Models/Components/ExternalAccount.php @@ -11,7 +11,5 @@ class ExternalAccount { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/ExternalAccounts.php b/src/Models/Components/ExternalAccounts.php index b951a04..c47187d 100644 --- a/src/Models/Components/ExternalAccounts.php +++ b/src/Models/Components/ExternalAccounts.php @@ -11,7 +11,5 @@ class ExternalAccounts { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/InvitationPublicMetadata.php b/src/Models/Components/InvitationPublicMetadata.php index 58752f8..70a837a 100644 --- a/src/Models/Components/InvitationPublicMetadata.php +++ b/src/Models/Components/InvitationPublicMetadata.php @@ -11,7 +11,5 @@ class InvitationPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/InvitationRevokedPublicMetadata.php b/src/Models/Components/InvitationRevokedPublicMetadata.php index 4f01ca5..359bdbf 100644 --- a/src/Models/Components/InvitationRevokedPublicMetadata.php +++ b/src/Models/Components/InvitationRevokedPublicMetadata.php @@ -11,7 +11,5 @@ class InvitationRevokedPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/Meta.php b/src/Models/Components/Meta.php index a03a73f..073b0a6 100644 --- a/src/Models/Components/Meta.php +++ b/src/Models/Components/Meta.php @@ -11,7 +11,5 @@ class Meta { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationInvitationPrivateMetadata.php b/src/Models/Components/OrganizationInvitationPrivateMetadata.php index edfebdb..ae90547 100644 --- a/src/Models/Components/OrganizationInvitationPrivateMetadata.php +++ b/src/Models/Components/OrganizationInvitationPrivateMetadata.php @@ -11,7 +11,5 @@ class OrganizationInvitationPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationInvitationPublicMetadata.php b/src/Models/Components/OrganizationInvitationPublicMetadata.php index f1c7804..9c81e48 100644 --- a/src/Models/Components/OrganizationInvitationPublicMetadata.php +++ b/src/Models/Components/OrganizationInvitationPublicMetadata.php @@ -11,7 +11,5 @@ class OrganizationInvitationPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationMembershipOrganizationPrivateMetadata.php b/src/Models/Components/OrganizationMembershipOrganizationPrivateMetadata.php index 73dc1a3..6e9c3e7 100644 --- a/src/Models/Components/OrganizationMembershipOrganizationPrivateMetadata.php +++ b/src/Models/Components/OrganizationMembershipOrganizationPrivateMetadata.php @@ -11,7 +11,5 @@ class OrganizationMembershipOrganizationPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationMembershipOrganizationPublicMetadata.php b/src/Models/Components/OrganizationMembershipOrganizationPublicMetadata.php index 1dfc147..eaa8c93 100644 --- a/src/Models/Components/OrganizationMembershipOrganizationPublicMetadata.php +++ b/src/Models/Components/OrganizationMembershipOrganizationPublicMetadata.php @@ -11,7 +11,5 @@ class OrganizationMembershipOrganizationPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationMembershipPrivateMetadata.php b/src/Models/Components/OrganizationMembershipPrivateMetadata.php index e267b91..de448ad 100644 --- a/src/Models/Components/OrganizationMembershipPrivateMetadata.php +++ b/src/Models/Components/OrganizationMembershipPrivateMetadata.php @@ -12,7 +12,5 @@ /** OrganizationMembershipPrivateMetadata - Metadata saved on the organization membership, accessible only from the Backend API */ class OrganizationMembershipPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationMembershipPublicMetadata.php b/src/Models/Components/OrganizationMembershipPublicMetadata.php index 58476d6..022cb44 100644 --- a/src/Models/Components/OrganizationMembershipPublicMetadata.php +++ b/src/Models/Components/OrganizationMembershipPublicMetadata.php @@ -12,7 +12,5 @@ /** OrganizationMembershipPublicMetadata - Metadata saved on the organization membership, accessible from both Frontend and Backend APIs */ class OrganizationMembershipPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationPrivateMetadata.php b/src/Models/Components/OrganizationPrivateMetadata.php index bc0a611..fa5029a 100644 --- a/src/Models/Components/OrganizationPrivateMetadata.php +++ b/src/Models/Components/OrganizationPrivateMetadata.php @@ -11,7 +11,5 @@ class OrganizationPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationPublicMetadata.php b/src/Models/Components/OrganizationPublicMetadata.php index e47ed35..9813d83 100644 --- a/src/Models/Components/OrganizationPublicMetadata.php +++ b/src/Models/Components/OrganizationPublicMetadata.php @@ -11,7 +11,5 @@ class OrganizationPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationWithLogoPrivateMetadata.php b/src/Models/Components/OrganizationWithLogoPrivateMetadata.php index 38cb4f3..c6a39ab 100644 --- a/src/Models/Components/OrganizationWithLogoPrivateMetadata.php +++ b/src/Models/Components/OrganizationWithLogoPrivateMetadata.php @@ -11,7 +11,5 @@ class OrganizationWithLogoPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/OrganizationWithLogoPublicMetadata.php b/src/Models/Components/OrganizationWithLogoPublicMetadata.php index 008c245..42dd06f 100644 --- a/src/Models/Components/OrganizationWithLogoPublicMetadata.php +++ b/src/Models/Components/OrganizationWithLogoPublicMetadata.php @@ -11,7 +11,5 @@ class OrganizationWithLogoPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/PrivateMetadata.php b/src/Models/Components/PrivateMetadata.php index 7998192..e293274 100644 --- a/src/Models/Components/PrivateMetadata.php +++ b/src/Models/Components/PrivateMetadata.php @@ -11,7 +11,5 @@ class PrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/PublicMetadata.php b/src/Models/Components/PublicMetadata.php index a095c45..68ffc9d 100644 --- a/src/Models/Components/PublicMetadata.php +++ b/src/Models/Components/PublicMetadata.php @@ -11,7 +11,5 @@ class PublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/SAMLAccountPublicMetadata.php b/src/Models/Components/SAMLAccountPublicMetadata.php index bb1b17a..4988054 100644 --- a/src/Models/Components/SAMLAccountPublicMetadata.php +++ b/src/Models/Components/SAMLAccountPublicMetadata.php @@ -11,7 +11,5 @@ class SAMLAccountPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/SignUpPublicMetadata.php b/src/Models/Components/SignUpPublicMetadata.php index ea2929f..a2ee6fb 100644 --- a/src/Models/Components/SignUpPublicMetadata.php +++ b/src/Models/Components/SignUpPublicMetadata.php @@ -11,7 +11,5 @@ class SignUpPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/SignUpUnsafeMetadata.php b/src/Models/Components/SignUpUnsafeMetadata.php index 36ac0b4..aa24f0a 100644 --- a/src/Models/Components/SignUpUnsafeMetadata.php +++ b/src/Models/Components/SignUpUnsafeMetadata.php @@ -11,7 +11,5 @@ class SignUpUnsafeMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/UnsafeMetadata.php b/src/Models/Components/UnsafeMetadata.php index 82c224c..1d831a8 100644 --- a/src/Models/Components/UnsafeMetadata.php +++ b/src/Models/Components/UnsafeMetadata.php @@ -11,7 +11,5 @@ class UnsafeMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Components/Verifications.php b/src/Models/Components/Verifications.php index c6b51b0..68a6f23 100644 --- a/src/Models/Components/Verifications.php +++ b/src/Models/Components/Verifications.php @@ -11,7 +11,5 @@ class Verifications { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/Actor.php b/src/Models/Operations/Actor.php index cf42943..d30c330 100644 --- a/src/Models/Operations/Actor.php +++ b/src/Models/Operations/Actor.php @@ -16,7 +16,5 @@ */ class Actor { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/Claims.php b/src/Models/Operations/Claims.php index d201c58..756feb5 100644 --- a/src/Models/Operations/Claims.php +++ b/src/Models/Operations/Claims.php @@ -12,7 +12,5 @@ /** Claims - JWT template claims in JSON format */ class Claims { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/CreateInvitationPublicMetadata.php b/src/Models/Operations/CreateInvitationPublicMetadata.php index 854f5cc..88a0e1b 100644 --- a/src/Models/Operations/CreateInvitationPublicMetadata.php +++ b/src/Models/Operations/CreateInvitationPublicMetadata.php @@ -17,7 +17,5 @@ */ class CreateInvitationPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/CreateOrganizationInvitationBulkPrivateMetadata.php b/src/Models/Operations/CreateOrganizationInvitationBulkPrivateMetadata.php index d4dd59e..1b2918f 100644 --- a/src/Models/Operations/CreateOrganizationInvitationBulkPrivateMetadata.php +++ b/src/Models/Operations/CreateOrganizationInvitationBulkPrivateMetadata.php @@ -12,7 +12,5 @@ /** CreateOrganizationInvitationBulkPrivateMetadata - Metadata saved on the organization invitation, fully accessible (read/write) from the Backend API but not visible from the Frontend API. */ class CreateOrganizationInvitationBulkPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/CreateOrganizationInvitationBulkPublicMetadata.php b/src/Models/Operations/CreateOrganizationInvitationBulkPublicMetadata.php index 9bb9862..1238998 100644 --- a/src/Models/Operations/CreateOrganizationInvitationBulkPublicMetadata.php +++ b/src/Models/Operations/CreateOrganizationInvitationBulkPublicMetadata.php @@ -12,7 +12,5 @@ /** CreateOrganizationInvitationBulkPublicMetadata - Metadata saved on the organization invitation, read-only from the Frontend API and fully accessible (read/write) from the Backend API. */ class CreateOrganizationInvitationBulkPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/CreateOrganizationInvitationPrivateMetadata.php b/src/Models/Operations/CreateOrganizationInvitationPrivateMetadata.php index 208ed8b..44685cf 100644 --- a/src/Models/Operations/CreateOrganizationInvitationPrivateMetadata.php +++ b/src/Models/Operations/CreateOrganizationInvitationPrivateMetadata.php @@ -12,7 +12,5 @@ /** CreateOrganizationInvitationPrivateMetadata - Metadata saved on the organization invitation, fully accessible (read/write) from the Backend API but not visible from the Frontend API. */ class CreateOrganizationInvitationPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/CreateOrganizationInvitationPublicMetadata.php b/src/Models/Operations/CreateOrganizationInvitationPublicMetadata.php index 6c7ea31..2f0a072 100644 --- a/src/Models/Operations/CreateOrganizationInvitationPublicMetadata.php +++ b/src/Models/Operations/CreateOrganizationInvitationPublicMetadata.php @@ -12,7 +12,5 @@ /** CreateOrganizationInvitationPublicMetadata - Metadata saved on the organization invitation, read-only from the Frontend API and fully accessible (read/write) from the Backend API. */ class CreateOrganizationInvitationPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/CreateOrganizationPrivateMetadata.php b/src/Models/Operations/CreateOrganizationPrivateMetadata.php index adb8623..d5d6469 100644 --- a/src/Models/Operations/CreateOrganizationPrivateMetadata.php +++ b/src/Models/Operations/CreateOrganizationPrivateMetadata.php @@ -12,7 +12,5 @@ /** CreateOrganizationPrivateMetadata - Metadata saved on the organization, accessible only from the Backend API */ class CreateOrganizationPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/CreateOrganizationPublicMetadata.php b/src/Models/Operations/CreateOrganizationPublicMetadata.php index 2dcc17d..5e3a0ef 100644 --- a/src/Models/Operations/CreateOrganizationPublicMetadata.php +++ b/src/Models/Operations/CreateOrganizationPublicMetadata.php @@ -12,7 +12,5 @@ /** CreateOrganizationPublicMetadata - Metadata saved on the organization, read-only from the Frontend API and fully accessible (read/write) from the Backend API */ class CreateOrganizationPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/GetOAuthAccessTokenPublicMetadata.php b/src/Models/Operations/GetOAuthAccessTokenPublicMetadata.php index dc4e482..f5e8085 100644 --- a/src/Models/Operations/GetOAuthAccessTokenPublicMetadata.php +++ b/src/Models/Operations/GetOAuthAccessTokenPublicMetadata.php @@ -11,7 +11,5 @@ class GetOAuthAccessTokenPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/MergeOrganizationMetadataPrivateMetadata.php b/src/Models/Operations/MergeOrganizationMetadataPrivateMetadata.php index 47df48e..118769a 100644 --- a/src/Models/Operations/MergeOrganizationMetadataPrivateMetadata.php +++ b/src/Models/Operations/MergeOrganizationMetadataPrivateMetadata.php @@ -16,7 +16,5 @@ */ class MergeOrganizationMetadataPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/MergeOrganizationMetadataPublicMetadata.php b/src/Models/Operations/MergeOrganizationMetadataPublicMetadata.php index b4b0fad..c7555da 100644 --- a/src/Models/Operations/MergeOrganizationMetadataPublicMetadata.php +++ b/src/Models/Operations/MergeOrganizationMetadataPublicMetadata.php @@ -16,7 +16,5 @@ */ class MergeOrganizationMetadataPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/PreviewTemplateResponseBody.php b/src/Models/Operations/PreviewTemplateResponseBody.php index c14a45e..bab01f4 100644 --- a/src/Models/Operations/PreviewTemplateResponseBody.php +++ b/src/Models/Operations/PreviewTemplateResponseBody.php @@ -12,7 +12,5 @@ /** PreviewTemplateResponseBody - OK */ class PreviewTemplateResponseBody { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/PrivateMetadata.php b/src/Models/Operations/PrivateMetadata.php index c626f4e..396410f 100644 --- a/src/Models/Operations/PrivateMetadata.php +++ b/src/Models/Operations/PrivateMetadata.php @@ -12,7 +12,5 @@ /** PrivateMetadata - Metadata saved on the user, that is only visible to your Backend API */ class PrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/PublicMetadata.php b/src/Models/Operations/PublicMetadata.php index 2367acb..e970f36 100644 --- a/src/Models/Operations/PublicMetadata.php +++ b/src/Models/Operations/PublicMetadata.php @@ -12,7 +12,5 @@ /** PublicMetadata - Metadata saved on the user, that is visible to both your Frontend and Backend APIs */ class PublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/UnsafeMetadata.php b/src/Models/Operations/UnsafeMetadata.php index b8ff583..75de7ea 100644 --- a/src/Models/Operations/UnsafeMetadata.php +++ b/src/Models/Operations/UnsafeMetadata.php @@ -16,7 +16,5 @@ */ class UnsafeMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/UpdateJWTTemplateClaims.php b/src/Models/Operations/UpdateJWTTemplateClaims.php index c6a8f7e..39ad7b4 100644 --- a/src/Models/Operations/UpdateJWTTemplateClaims.php +++ b/src/Models/Operations/UpdateJWTTemplateClaims.php @@ -12,7 +12,5 @@ /** UpdateJWTTemplateClaims - JWT template claims in JSON format */ class UpdateJWTTemplateClaims { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/UpdateOrganizationMembershipMetadataPrivateMetadata.php b/src/Models/Operations/UpdateOrganizationMembershipMetadataPrivateMetadata.php index 7be0da6..08c6fa9 100644 --- a/src/Models/Operations/UpdateOrganizationMembershipMetadataPrivateMetadata.php +++ b/src/Models/Operations/UpdateOrganizationMembershipMetadataPrivateMetadata.php @@ -16,7 +16,5 @@ */ class UpdateOrganizationMembershipMetadataPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/UpdateOrganizationMembershipMetadataPublicMetadata.php b/src/Models/Operations/UpdateOrganizationMembershipMetadataPublicMetadata.php index 1560197..93f6084 100644 --- a/src/Models/Operations/UpdateOrganizationMembershipMetadataPublicMetadata.php +++ b/src/Models/Operations/UpdateOrganizationMembershipMetadataPublicMetadata.php @@ -16,7 +16,5 @@ */ class UpdateOrganizationMembershipMetadataPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/UpdateOrganizationPrivateMetadata.php b/src/Models/Operations/UpdateOrganizationPrivateMetadata.php index acfdd7f..7f97c7d 100644 --- a/src/Models/Operations/UpdateOrganizationPrivateMetadata.php +++ b/src/Models/Operations/UpdateOrganizationPrivateMetadata.php @@ -12,7 +12,5 @@ /** UpdateOrganizationPrivateMetadata - Metadata saved on the organization that is only visible to your backend. */ class UpdateOrganizationPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/UpdateOrganizationPublicMetadata.php b/src/Models/Operations/UpdateOrganizationPublicMetadata.php index 448e441..bcdf256 100644 --- a/src/Models/Operations/UpdateOrganizationPublicMetadata.php +++ b/src/Models/Operations/UpdateOrganizationPublicMetadata.php @@ -12,7 +12,5 @@ /** UpdateOrganizationPublicMetadata - Metadata saved on the organization, that is visible to both your frontend and backend. */ class UpdateOrganizationPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/UpdateUserPrivateMetadata.php b/src/Models/Operations/UpdateUserPrivateMetadata.php index ca8d71d..2602652 100644 --- a/src/Models/Operations/UpdateUserPrivateMetadata.php +++ b/src/Models/Operations/UpdateUserPrivateMetadata.php @@ -12,7 +12,5 @@ /** UpdateUserPrivateMetadata - Metadata saved on the user, that is only visible to your Backend API */ class UpdateUserPrivateMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/UpdateUserPublicMetadata.php b/src/Models/Operations/UpdateUserPublicMetadata.php index 5b082eb..8ac391b 100644 --- a/src/Models/Operations/UpdateUserPublicMetadata.php +++ b/src/Models/Operations/UpdateUserPublicMetadata.php @@ -12,7 +12,5 @@ /** UpdateUserPublicMetadata - Metadata saved on the user, that is visible to both your Frontend and Backend APIs */ class UpdateUserPublicMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Models/Operations/UpdateUserUnsafeMetadata.php b/src/Models/Operations/UpdateUserUnsafeMetadata.php index 31fc31c..87cc632 100644 --- a/src/Models/Operations/UpdateUserUnsafeMetadata.php +++ b/src/Models/Operations/UpdateUserUnsafeMetadata.php @@ -16,7 +16,5 @@ */ class UpdateUserUnsafeMetadata { - public function __construct() - { - } + public function __construct() {} } \ No newline at end of file diff --git a/src/Utils/FormMetadata.php b/src/Utils/FormMetadata.php index ebb4af8..19490a9 100644 --- a/src/Utils/FormMetadata.php +++ b/src/Utils/FormMetadata.php @@ -16,8 +16,7 @@ private function __construct( public string $style, public bool $explode, public string $dateTimeFormat, - ) { - } + ) {} public static function parse(string $metadata): ?FormMetadata { diff --git a/src/Utils/MultipartMetadata.php b/src/Utils/MultipartMetadata.php index 7083ac1..c5fac4d 100644 --- a/src/Utils/MultipartMetadata.php +++ b/src/Utils/MultipartMetadata.php @@ -16,8 +16,7 @@ private function __construct( public bool $content, public bool $json, public string $dateTimeFormat, - ) { - } + ) {} public static function parse(string $metadata): ?MultipartMetadata { diff --git a/src/Utils/ParamsMetadata.php b/src/Utils/ParamsMetadata.php index ee26d68..c837bee 100644 --- a/src/Utils/ParamsMetadata.php +++ b/src/Utils/ParamsMetadata.php @@ -17,8 +17,7 @@ private function __construct( public string $name, public string $serialization, public string $dateTimeFormat, - ) { - } + ) {} public static function parse(string $metadata): ?ParamsMetadata { diff --git a/src/Utils/RequestMetadata.php b/src/Utils/RequestMetadata.php index c602df1..04a3b76 100644 --- a/src/Utils/RequestMetadata.php +++ b/src/Utils/RequestMetadata.php @@ -12,8 +12,7 @@ class RequestMetadata { private function __construct( public string $mediaType, - ) { - } + ) {} public static function parse(string $metadata): ?RequestMetadata { diff --git a/src/Utils/SecurityClient.php b/src/Utils/SecurityClient.php index 4a4da8a..eb8423e 100644 --- a/src/Utils/SecurityClient.php +++ b/src/Utils/SecurityClient.php @@ -23,8 +23,7 @@ class SecurityClient implements ClientInterface public function __construct( private readonly ClientInterface $client, private readonly array $clientOptions, - ) { - } + ) {} /** * @param RequestInterface $request diff --git a/src/Utils/SecurityMetadata.php b/src/Utils/SecurityMetadata.php index 261dde0..50eb8a4 100644 --- a/src/Utils/SecurityMetadata.php +++ b/src/Utils/SecurityMetadata.php @@ -16,8 +16,7 @@ private function __construct( public string $name, public string $type, public string $subtype, - ) { - } + ) {} public static function parse(string $metadata): ?SecurityMetadata { diff --git a/src/Utils/SpeakeasyMetadata.php b/src/Utils/SpeakeasyMetadata.php index e2d959d..ebcb8dd 100644 --- a/src/Utils/SpeakeasyMetadata.php +++ b/src/Utils/SpeakeasyMetadata.php @@ -16,8 +16,7 @@ class SpeakeasyMetadata { public function __construct( public string $value, - ) { - } + ) {} /** * @param array> $attributes