*
* @ingroup Media
*/
+// @codingStandardsIgnoreStart Squiz.Classes.ValidClassName.NotCamelCaps
class BitmapHandler_ClientOnly extends BitmapHandler {
+ // @codingStandardsIgnoreEnd
+
/**
- * @param $image File
- * @param $params
+ * @param File $image
+ * @param array $params
* @return bool
*/
function normaliseParams( $image, &$params ) {
return new TransformParameterError( $params );
}
- return new ThumbnailImage( $image, $image->getURL(), $image->getLocalRefPath(), $params );
+ return new ThumbnailImage( $image, $image->getUrl(), $image->getLocalRefPath(), $params );
}
}