mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-09-24 18:59:45 +00:00
Fix breakage on beta due to type hint being too strict
Change-Id: I2ed0b80e61fed2dfca00095ff172a7f1d047250f
This commit is contained in:
parent
d72aa68694
commit
c07e3a367f
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue