diff --git a/src/GraphQL/FieldHelper/AssetFieldHelper.php b/src/GraphQL/FieldHelper/AssetFieldHelper.php index c8579c9f..932e3224 100644 --- a/src/GraphQL/FieldHelper/AssetFieldHelper.php +++ b/src/GraphQL/FieldHelper/AssetFieldHelper.php @@ -46,8 +46,7 @@ public function getImageDocumentThumbnail( string | Image\Thumbnail\Config $thumbNailConfig, string $thumbNailFormat = null, bool $deferred = false - ): mixed - { + ): mixed { match(true) { $asset instanceof Asset\Document => $thumb = $asset->getImageThumbnail( $thumbNailConfig, @@ -74,8 +73,7 @@ public function getAssetThumbnail( string | Image\Thumbnail\Config | Video\Thumbnail\Config $thumbNailConfig, string $thumbNailFormat = null, bool $deferred = false - ): mixed - { + ): mixed { if (($asset instanceof Asset\Video) && (is_string($thumbNailConfig) || $thumbNailConfig instanceof Video\Thumbnail\Config)) { return $this->getVideoThumbnail($asset, $thumbNailConfig, $thumbNailFormat); } else {