Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcop1 authored and github-actions[bot] committed Oct 24, 2024
1 parent ba0dd7c commit 7db855d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/GraphQL/FieldHelper/AssetFieldHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public function getImageDocumentThumbnail(
string | Image\Thumbnail\Config $thumbNailConfig,
string $thumbNailFormat = null,
bool $deferred = false
): mixed
{
): mixed {
$thumb = null;

if ($asset instanceof Asset\Document || $asset instanceof Asset\Video) {
Expand All @@ -67,8 +66,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 {
Expand Down

0 comments on commit 7db855d

Please sign in to comment.