X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FBMP.php;h=4b9b268257ad972f8a2097e4aff58b29c3844cf7;hb=09110719680d7a0646a454ff1b2633a042952003;hp=52f9518f79281cf1583cac0c713136459e83757b;hpb=79557c5fb351c92c657e2ed6d03ff6b8a3bd55a0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/BMP.php b/includes/media/BMP.php index 52f9518f79..4b9b268257 100644 --- a/includes/media/BMP.php +++ b/includes/media/BMP.php @@ -32,7 +32,7 @@ class BmpHandler extends BitmapHandler { * @param File $file * @return bool */ - function mustRender( $file ) { + public function mustRender( $file ) { return true; } @@ -45,7 +45,7 @@ class BmpHandler extends BitmapHandler { * @return array */ function getThumbType( $text, $mime, $params = null ) { - return array( 'png', 'image/png' ); + return [ 'png', 'image/png' ]; } /** @@ -75,6 +75,6 @@ class BmpHandler extends BitmapHandler { return false; } - return array( $w[1], $h[1] ); + return [ $w[1], $h[1] ]; } }