Skip to content

Commit d9c4773

Browse files
cklei-carlygithub-actions[bot]
authored andcommitted
Fix styling
1 parent df4fc1a commit d9c4773

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Fields/Converters/MediaPickerConverter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ public function toDisplayValue(mixed $sourceValue, ?string $locale, ?string $fal
2020

2121
// fetch media assets from the database using primary keys (In Preview mode)
2222
$mediaAssetIds = collect($formattedSourceValue)->where(fn ($v) => is_string($v));
23-
24-
$mediaAssets = (count($mediaAssetIds) > 0) ?
25-
collect(inspirecms_asset()->findByKeys($mediaAssetIds->all()))->mapWithKeys(fn ($item) => [$item->getKey() => $item]) :
23+
24+
$mediaAssets = (count($mediaAssetIds) > 0) ?
25+
collect(inspirecms_asset()->findByKeys($mediaAssetIds->all()))->mapWithKeys(fn ($item) => [$item->getKey() => $item]) :
2626
collect();
2727

2828
return collect($formattedSourceValue)

0 commit comments

Comments
 (0)