MediaHandler.php: remove output mime parameter

This commit is contained in:
Zankaria 2025-03-28 12:47:07 +01:00
parent 3cddb0272b
commit f7d5724fed

View file

@ -55,7 +55,6 @@ interface MediaHandler {
mixed $handle,
string $media_preferred_out_file_basepath,
string $preferred_out_file_basepath,
string $thumb_preferred_out_mime,
int $thumb_max_width,
int $thumb_max_height
): MediaInstallResult;
@ -65,7 +64,6 @@ interface MediaHandler {
*
* @param mixed $handle An opaque handle obtained from {@link openHandle}.
* @param string $preferred_out_file_basepath Desired path of the output file, WITHOUT extension.
* @param string $preferred_out_mime
* @param int $max_width
* @param int $max_height
* @return ThumbGenerationResult
@ -74,7 +72,6 @@ interface MediaHandler {
public function generateThumb(
mixed $handle,
string $preferred_out_file_basepath,
string $preferred_out_mime,
int $max_width,
int $max_height
): ThumbGenerationResult;