media: Fix $ext property name in BmpHandler::getThumbType()
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Tue, 28 May 2019 14:13:36 +0000 (16:13 +0200)
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Tue, 28 May 2019 14:14:42 +0000 (16:14 +0200)
This is not "text", it's a file extension.

Change-Id: I92e3b70805df974e74e8aaa9e780dcb55ff584b9

includes/media/BmpHandler.php

index 09cbdac..9a9c0a6 100644 (file)
@@ -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' ];
        }