From: Thiemo Kreuz Date: Tue, 28 May 2019 14:13:36 +0000 (+0200) Subject: media: Fix $ext property name in BmpHandler::getThumbType() X-Git-Tag: 1.34.0-rc.0~1570^2 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=9e1d765a8064ec71d91f62bdc673f76c8640f6c1;p=lhc%2Fweb%2Fwiklou.git media: Fix $ext property name in BmpHandler::getThumbType() This is not "text", it's a file extension. Change-Id: I92e3b70805df974e74e8aaa9e780dcb55ff584b9 --- diff --git a/includes/media/BmpHandler.php b/includes/media/BmpHandler.php index 09cbdac23f..9a9c0a6f19 100644 --- a/includes/media/BmpHandler.php +++ b/includes/media/BmpHandler.php @@ -39,12 +39,12 @@ class BmpHandler extends BitmapHandler { /** * Render files as PNG * - * @param string $text + * @param string $ext * @param string $mime * @param array|null $params * @return array */ - public function getThumbType( $text, $mime, $params = null ) { + public function getThumbType( $ext, $mime, $params = null ) { return [ 'png', 'image/png' ]; }