@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * |
35 | 35 | * @param string $dstPath |
36 | 36 | * @param bool $checkDstPath |
37 | - * @return string|Callable One of client, im, custom, gd, imext or an array( object, method ) |
|
37 | + * @return string One of client, im, custom, gd, imext or an array( object, method ) |
|
38 | 38 | */ |
39 | 39 | protected function getScalerType( $dstPath, $checkDstPath = true ) { |
40 | 40 | global $wgUseImageResize, $wgUseImageMagick, $wgCustomConvertCommand; |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * Get ImageMagick subsampling factors for the target JPEG pixel format. |
109 | 109 | * |
110 | 110 | * @param string $pixelFormat one of 'yuv444', 'yuv422', 'yuv420' |
111 | - * @return array of string keys |
|
111 | + * @return string[] of string keys |
|
112 | 112 | */ |
113 | 113 | protected function imageMagickSubsampling( $pixelFormat ) { |
114 | 114 | switch ( $pixelFormat ) { |