X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FTiffHandler.php;h=15c4dbf1e603416159018efc896799d561e436f6;hb=b33fb102d1af5e396220226d3a01890ca428e0a5;hp=f0f4cdad6c76067b4d5a5a6f4108ec5f40d471a6;hpb=478a58f63101f2b47d18a618296b5e7970fa3f24;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/TiffHandler.php b/includes/media/TiffHandler.php index f0f4cdad6c..15c4dbf1e6 100644 --- a/includes/media/TiffHandler.php +++ b/includes/media/TiffHandler.php @@ -61,10 +61,10 @@ class TiffHandler extends ExifBitmapHandler { /** * @param string $ext * @param string $mime - * @param array $params + * @param array|null $params * @return bool */ - function getThumbType( $ext, $mime, $params = null ) { + public function getThumbType( $ext, $mime, $params = null ) { global $wgTiffThumbnailType; return $wgTiffThumbnailType; @@ -76,7 +76,7 @@ class TiffHandler extends ExifBitmapHandler { * @throws MWException * @return string */ - function getMetadata( $image, $filename ) { + public function getMetadata( $image, $filename ) { global $wgShowEXIF; if ( $wgShowEXIF ) {