FallbackMediaHandler.php: update

This commit is contained in:
Zankaria 2025-03-28 12:47:44 +01:00
parent f7d5724fed
commit 19a3f6fa8f

View file

@ -53,7 +53,6 @@ class FallbackMediaHandler implements MediaHandler {
mixed $handle, mixed $handle,
string $media_preferred_out_file_basepath, string $media_preferred_out_file_basepath,
string $thumb_preferred_out_file_basepath, string $thumb_preferred_out_file_basepath,
string $thumb_preferred_out_mime,
int $thumb_max_width, int $thumb_max_width,
int $thumb_max_height int $thumb_max_height
): MediaInstallResult { ): MediaInstallResult {
@ -65,7 +64,6 @@ class FallbackMediaHandler implements MediaHandler {
$thumb = $this->generateThumb( $thumb = $this->generateThumb(
$handle, $handle,
$thumb_preferred_out_file_basepath, $thumb_preferred_out_file_basepath,
$thumb_preferred_out_mime,
$thumb_max_width, $thumb_max_width,
$thumb_max_height $thumb_max_height
); );
@ -75,7 +73,6 @@ class FallbackMediaHandler implements MediaHandler {
public function generateThumb( public function generateThumb(
mixed $handle, mixed $handle,
string $preferred_out_file_basepath, string $preferred_out_file_basepath,
string $preferred_out_mime,
int $max_width, int $max_width,
int $max_height int $max_height
): ThumbGenerationResult { ): ThumbGenerationResult {