* @param array|null $params
* @return array
*/
- function getThumbType( $ext, $mime, $params = null ) {
+ public function getThumbType( $ext, $mime, $params = null ) {
return [ 'png', 'image/png' ];
}
}
# Forge a return array containing metadata information just like getimagesize()
- # See PHP documentation at: https://secure.php.net/getimagesize
+ # See PHP documentation at: https://www.php.net/getimagesize
return [
0 => $header['width'],
1 => $header['height'],