diff --git a/inc/Service/Media/MediaHandler.php b/inc/Service/Media/MediaHandler.php index e0ac04fd..cf5588df 100644 --- a/inc/Service/Media/MediaHandler.php +++ b/inc/Service/Media/MediaHandler.php @@ -53,10 +53,8 @@ interface MediaHandler { public function installMediaAndGenerateThumb( mixed $handle, - string $media_preferred_out_file_dir, - string $media_preferred_out_file_name, - string $thumb_preferred_out_file_dir, - string $thumb_preferred_out_file_name, + string $media_preferred_out_file_basepath, + string $preferred_out_file_basepath, string $thumb_preferred_out_mime, int $thumb_max_width, int $thumb_max_height @@ -66,8 +64,7 @@ interface MediaHandler { * Generates a thumbnail from the given file. * * @param mixed $handle An opaque handle obtained from {@link openHandle}. - * @param string $preferred_out_file_dir - * @param string $preferred_out_file_name + * @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 @@ -76,8 +73,7 @@ interface MediaHandler { */ public function generateThumb( mixed $handle, - string $preferred_out_file_dir, - string $preferred_out_file_name, + string $preferred_out_file_basepath, string $preferred_out_mime, int $max_width, int $max_height