X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fmedia%2FTiffHandler.php;h=15c4dbf1e603416159018efc896799d561e436f6;hb=c1c3302286deb92f3eb81a39b5ee61f8c413f5ad;hp=f0f4cdad6c76067b4d5a5a6f4108ec5f40d471a6;hpb=589fa9248d991e5999dbdc18c22ff891bb73e87d;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 ) {