Skip to content

Commit

Permalink
[TASK] always provide format for placeholder image
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichmathes committed Oct 11, 2024
1 parent 7f7fb4d commit 2eed90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Domain/Model/PlaceholderImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function process(int $width, int $height, ?string $format, Area $cropArea
return new PlaceholderImage(
(int) round($cropArea->getWidth() * $width),
(int) round($cropArea->getHeight() * $height),
$format
$format ?: $this->format
);
}
}

0 comments on commit 2eed90a

Please sign in to comment.