dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Move up devunt's name to Developers"
[lhc/web/wiklou.git]
/
includes
/
media
/
BMP.php
diff --git
a/includes/media/BMP.php
b/includes/media/BMP.php
index
52f9518
..
0229ac1
100644
(file)
--- a/
includes/media/BMP.php
+++ b/
includes/media/BMP.php
@@
-32,7
+32,7
@@
class BmpHandler extends BitmapHandler {
* @param File $file
* @return bool
*/
* @param File $file
* @return bool
*/
- function mustRender( $file ) {
+
public
function mustRender( $file ) {
return true;
}
return true;
}
@@
-45,13
+45,13
@@
class BmpHandler extends BitmapHandler {
* @return array
*/
function getThumbType( $text, $mime, $params = null ) {
* @return array
*/
function getThumbType( $text, $mime, $params = null ) {
- return
array( 'png', 'image/png' )
;
+ return
[ 'png', 'image/png' ]
;
}
/**
* Get width and height from the bmp header.
*
}
/**
* Get width and height from the bmp header.
*
- * @param File $image
+ * @param File
|FSFile
$image
* @param string $filename
* @return array
*/
* @param string $filename
* @return array
*/
@@
-75,6
+75,6
@@
class BmpHandler extends BitmapHandler {
return false;
}
return false;
}
- return
array( $w[1], $h[1] )
;
+ return
[ $w[1], $h[1] ]
;
}
}
}
}