* @param File $file
* @return bool
*/
- function mustRender( $file ) {
+ public function mustRender( $file ) {
return true;
}
* @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.
*
- * @param File $image
+ * @param File|FSFile $image
* @param string $filename
* @return array
*/
return false;
}
- return array( $w[1], $h[1] );
+ return [ $w[1], $h[1] ];
}
}