diff --git a/lib/API/Search/Query.php b/lib/API/Search/Query.php index 6e3cb9b7..01fe7ae2 100644 --- a/lib/API/Search/Query.php +++ b/lib/API/Search/Query.php @@ -32,8 +32,7 @@ public function __construct( private int $limit = 25, private ?string $nextCursor = null, private array $sortBy = ['created_at' => 'desc'] - ) { - } + ) {} public function __toString(): string { diff --git a/lib/API/Search/Result.php b/lib/API/Search/Result.php index 6c0e1003..b2e4d9ae 100644 --- a/lib/API/Search/Result.php +++ b/lib/API/Search/Result.php @@ -13,8 +13,7 @@ public function __construct( private int $totalCount, private ?string $nextCursor = null, private array $resources = [] - ) { - } + ) {} public function getTotalCount(): int { diff --git a/lib/API/Upload/FileStruct.php b/lib/API/Upload/FileStruct.php index 4c851435..a997b812 100644 --- a/lib/API/Upload/FileStruct.php +++ b/lib/API/Upload/FileStruct.php @@ -17,8 +17,7 @@ private function __construct( private string $uri, private string $originalFilename, private string $originalExtension, - ) { - } + ) {} public static function fromUri(string $uri): self { diff --git a/lib/API/Upload/ResourceStruct.php b/lib/API/Upload/ResourceStruct.php index 4aca9865..fee4f9e5 100644 --- a/lib/API/Upload/ResourceStruct.php +++ b/lib/API/Upload/ResourceStruct.php @@ -25,8 +25,7 @@ public function __construct( private ?string $caption = null, private array $tags = [], private array $context = [] - ) { - } + ) {} public function getFileStruct(): FileStruct { diff --git a/lib/API/Values/AuthToken.php b/lib/API/Values/AuthToken.php index b27bb6be..be699b54 100644 --- a/lib/API/Values/AuthToken.php +++ b/lib/API/Values/AuthToken.php @@ -13,8 +13,7 @@ private function __construct( private ?DateTimeImmutable $startsAt = null, private ?DateTimeImmutable $expiresAt = null, private ?string $ipAddress = null - ) { - } + ) {} public static function fromDuration(int $duration): self { diff --git a/lib/API/Values/CropSettings.php b/lib/API/Values/CropSettings.php index 40756865..d2b8d452 100644 --- a/lib/API/Values/CropSettings.php +++ b/lib/API/Values/CropSettings.php @@ -12,8 +12,7 @@ public function __construct( private int $y = 0, private int $width = 0, private int $height = 0 - ) { - } + ) {} public static function fromArray(string $transformationName, array $coords): self { diff --git a/lib/API/Values/Folder.php b/lib/API/Values/Folder.php index c63ed873..b67b5952 100644 --- a/lib/API/Values/Folder.php +++ b/lib/API/Values/Folder.php @@ -14,8 +14,7 @@ final class Folder public function __construct( private string $name, private ?self $parent = null - ) { - } + ) {} public function __toString(): string { diff --git a/lib/API/Values/RemoteResource.php b/lib/API/Values/RemoteResource.php index e3cbe555..8c86d207 100644 --- a/lib/API/Values/RemoteResource.php +++ b/lib/API/Values/RemoteResource.php @@ -61,8 +61,7 @@ public function __construct( private array $metadata = [], private array $context = [], private Collection|array $locations = [], - ) { - } + ) {} public function getId(): ?int { diff --git a/lib/API/Values/RemoteResourceLocation.php b/lib/API/Values/RemoteResourceLocation.php index e1e8506d..eef0ea90 100644 --- a/lib/API/Values/RemoteResourceLocation.php +++ b/lib/API/Values/RemoteResourceLocation.php @@ -16,8 +16,7 @@ public function __construct( private array $cropSettings = [], private ?string $watermarkText = null, private ?int $id = null, - ) { - } + ) {} public function getId(): ?int { diff --git a/lib/API/Values/RemoteResourceVariation.php b/lib/API/Values/RemoteResourceVariation.php index bcc1dc07..904dee7b 100644 --- a/lib/API/Values/RemoteResourceVariation.php +++ b/lib/API/Values/RemoteResourceVariation.php @@ -10,8 +10,7 @@ public function __construct( private RemoteResource $resource, private string $url, private array $transformations = [] - ) { - } + ) {} public static function fromResource(RemoteResource $resource): self { diff --git a/lib/API/Values/StatusData.php b/lib/API/Values/StatusData.php index ae4e0013..d709fc42 100644 --- a/lib/API/Values/StatusData.php +++ b/lib/API/Values/StatusData.php @@ -13,8 +13,7 @@ final class StatusData */ public function __construct( private array $properties = [] - ) { - } + ) {} public function has(string $key): bool { diff --git a/lib/Core/Provider/Cloudinary/CloudinaryRemoteId.php b/lib/Core/Provider/Cloudinary/CloudinaryRemoteId.php index ff982f53..4572dd2b 100644 --- a/lib/Core/Provider/Cloudinary/CloudinaryRemoteId.php +++ b/lib/Core/Provider/Cloudinary/CloudinaryRemoteId.php @@ -18,8 +18,7 @@ public function __construct( private string $type, private string $resourceType, private string $resourceId - ) { - } + ) {} public static function fromCloudinaryData(array $data): self { diff --git a/lib/Core/Provider/Cloudinary/Factory/CloudinaryInstance.php b/lib/Core/Provider/Cloudinary/Factory/CloudinaryInstance.php index 6bc14ff6..e44c41b2 100644 --- a/lib/Core/Provider/Cloudinary/Factory/CloudinaryInstance.php +++ b/lib/Core/Provider/Cloudinary/Factory/CloudinaryInstance.php @@ -16,8 +16,7 @@ public function __construct( private string $apiSecret, private string $uploadPrefix, private bool $useSubdomains = false - ) { - } + ) {} public function create(): Cloudinary { diff --git a/lib/Core/Provider/Cloudinary/Factory/SearchResult.php b/lib/Core/Provider/Cloudinary/Factory/SearchResult.php index 4b5f6aec..96d85c9c 100644 --- a/lib/Core/Provider/Cloudinary/Factory/SearchResult.php +++ b/lib/Core/Provider/Cloudinary/Factory/SearchResult.php @@ -12,8 +12,7 @@ final class SearchResult implements SearchResultFactoryInterface { public function __construct( private RemoteResourceFactory $remoteResourceFactory, - ) { - } + ) {} public function create(mixed $data): Result { diff --git a/lib/Core/Provider/Cloudinary/Gateway/Cache/Psr6CachedGateway.php b/lib/Core/Provider/Cloudinary/Gateway/Cache/Psr6CachedGateway.php index b1054df8..5876af2e 100644 --- a/lib/Core/Provider/Cloudinary/Gateway/Cache/Psr6CachedGateway.php +++ b/lib/Core/Provider/Cloudinary/Gateway/Cache/Psr6CachedGateway.php @@ -40,8 +40,7 @@ public function __construct( private GatewayInterface $gateway, private CacheItemPoolInterface $cache, private int $ttl = 7200 - ) { - } + ) {} public function usage(): StatusData { diff --git a/lib/Core/Provider/Cloudinary/Resolver/AuthToken.php b/lib/Core/Provider/Cloudinary/Resolver/AuthToken.php index 51ecef4a..7dfb662b 100644 --- a/lib/Core/Provider/Cloudinary/Resolver/AuthToken.php +++ b/lib/Core/Provider/Cloudinary/Resolver/AuthToken.php @@ -11,8 +11,7 @@ final class AuthToken { public function __construct( private ?string $encryptionKey = null - ) { - } + ) {} public function resolve(AuthTokenEntity $token): array { diff --git a/lib/Core/Provider/Cloudinary/Resolver/SearchExpression.php b/lib/Core/Provider/Cloudinary/Resolver/SearchExpression.php index 77702cc6..5e3feff8 100644 --- a/lib/Core/Provider/Cloudinary/Resolver/SearchExpression.php +++ b/lib/Core/Provider/Cloudinary/Resolver/SearchExpression.php @@ -30,8 +30,7 @@ final class SearchExpression public function __construct( private ResourceTypeConverter $resourceTypeConverter, private VisibilityTypeConverter $visibilityTypeConverter, - ) { - } + ) {} public function resolve(Query $query): string { diff --git a/lib/Event/Cloudinary/NotificationReceivedEvent.php b/lib/Event/Cloudinary/NotificationReceivedEvent.php index e4716c46..5100c45b 100644 --- a/lib/Event/Cloudinary/NotificationReceivedEvent.php +++ b/lib/Event/Cloudinary/NotificationReceivedEvent.php @@ -13,8 +13,7 @@ final class NotificationReceivedEvent extends Event public function __construct( private Request $request, - ) { - } + ) {} public function getRequest(): Request { diff --git a/lib/Form/DataTransformer/RemoteMediaTransformer.php b/lib/Form/DataTransformer/RemoteMediaTransformer.php index f75a6bf3..edc6dd73 100644 --- a/lib/Form/DataTransformer/RemoteMediaTransformer.php +++ b/lib/Form/DataTransformer/RemoteMediaTransformer.php @@ -19,8 +19,7 @@ final class RemoteMediaTransformer implements DataTransformerInterface { public function __construct( private ProviderInterface $provider - ) { - } + ) {} public function transform($value) { diff --git a/lib/Form/Type/RemoteMediaFolderType.php b/lib/Form/Type/RemoteMediaFolderType.php index 9f38c6ae..3476bc94 100644 --- a/lib/Form/Type/RemoteMediaFolderType.php +++ b/lib/Form/Type/RemoteMediaFolderType.php @@ -19,8 +19,7 @@ final class RemoteMediaFolderType extends AbstractType { public function __construct( private DataTransformerInterface $transformer, - ) { - } + ) {} public function configureOptions(OptionsResolver $resolver): void { diff --git a/lib/Form/Type/RemoteMediaType.php b/lib/Form/Type/RemoteMediaType.php index 1b256683..21b8c38c 100644 --- a/lib/Form/Type/RemoteMediaType.php +++ b/lib/Form/Type/RemoteMediaType.php @@ -24,8 +24,7 @@ final class RemoteMediaType extends AbstractType public function __construct( private DataTransformerInterface $transformer, private ProviderInterface $provider, - ) { - } + ) {} public function configureOptions(OptionsResolver $resolver): void {