X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FBitmapHandler.php;h=f7fc46fe094b5c9446c624ccb406ec948518e746;hb=326d52f9613c5227d75f97361be6ec6ef78b214e;hp=2d1c3b2b51de9e7cc78ff47a6832310d8d19e04a;hpb=06aaf493e12f998784c7c9294e8533d979623308;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/BitmapHandler.php b/includes/media/BitmapHandler.php index 2d1c3b2b51..f7fc46fe09 100644 --- a/includes/media/BitmapHandler.php +++ b/includes/media/BitmapHandler.php @@ -110,7 +110,7 @@ class BitmapHandler extends TransformationalImageHandler { * Get ImageMagick subsampling factors for the target JPEG pixel format. * * @param string $pixelFormat one of 'yuv444', 'yuv422', 'yuv420' - * @return array of string keys + * @return string[] List of sampling factors */ protected function imageMagickSubsampling( $pixelFormat ) { switch ( $pixelFormat ) { @@ -131,7 +131,7 @@ class BitmapHandler extends TransformationalImageHandler { * @param File $image File associated with this thumbnail * @param array $params Array with scaler params * - * @return MediaTransformError|bool Error object if error occurred, false (=no error) otherwise + * @return MediaTransformError|false Error object if error occurred, false (=no error) otherwise */ protected function transformImageMagick( $image, $params ) { # use ImageMagick @@ -275,7 +275,7 @@ class BitmapHandler extends TransformationalImageHandler { * @param File $image File associated with this thumbnail * @param array $params Array with scaler params * - * @return MediaTransformError Error|bool object if error occurred, false (=no error) otherwise + * @return MediaTransformError|false Error object if error occurred, false (=no error) otherwise */ protected function transformImageMagickExt( $image, $params ) { global $wgSharpenReductionThreshold, $wgSharpenParameter, $wgMaxAnimatedGifArea, @@ -368,7 +368,7 @@ class BitmapHandler extends TransformationalImageHandler { * @param File $image File associated with this thumbnail * @param array $params Array with scaler params * - * @return MediaTransformError Error|bool object if error occurred, false (=no error) otherwise + * @return MediaTransformError|false Error object if error occurred, false (=no error) otherwise */ protected function transformCustom( $image, $params ) { # Use a custom convert command