dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4de088
)
media: Fix $ext property name in BmpHandler::getThumbType()
author
Thiemo Kreuz
<thiemo.kreuz@wikimedia.de>
Tue, 28 May 2019 14:13:36 +0000
(16:13 +0200)
committer
Thiemo 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
patch
|
blob
|
history
diff --git
a/includes/media/BmpHandler.php
b/includes/media/BmpHandler.php
index
09cbdac
..
9a9c0a6
100644
(file)
--- a/
includes/media/BmpHandler.php
+++ b/
includes/media/BmpHandler.php
@@
-39,12
+39,12
@@
class BmpHandler extends BitmapHandler {
/**
* Render files as PNG
*
- * @param string $
t
ext
+ * @param string $ext
* @param string $mime
* @param array|null $params
* @return array
*/
- public function getThumbType( $
t
ext, $mime, $params = null ) {
+ public function getThumbType( $ext, $mime, $params = null ) {
return [ 'png', 'image/png' ];
}