Fix breakage on beta due to type hint being too strict

Change-Id: I2ed0b80e61fed2dfca00095ff172a7f1d047250f
This commit is contained in:
Gilles Dubuc 2014-04-01 11:56:14 +02:00
parent d72aa68694
commit c07e3a367f

View file

@ -228,9 +228,9 @@ class MultimediaViewerHooks {
* Modify thumbnail DOM
* @param ThumbnailImage $thumbnail
* @param array $attribs Attributes of the <img> element
* @param array $linkAttribs Attributes of the wrapping <a> element
* @param array|boolean $linkAttribs Attributes of the wrapping <a> element
*/
public static function thumbnailBeforeProduceHTML( ThumbnailImage $thumbnail, array &$attribs, array &$linkAttribs ) {
public static function thumbnailBeforeProduceHTML( ThumbnailImage $thumbnail, array &$attribs, &$linkAttribs ) {
$file = $thumbnail->getFile();
if ( $file ) {