Add redirect=no only to redirects on redirect pages
[lhc/web/wiklou.git] / includes / media / BMP.php
index 52f9518..64f12f7 100644 (file)
@@ -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] ];
        }
 }