mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-11-27 15:40:03 +00:00
Stop passing objects by reference
Bug: T193950 Change-Id: Iefb9848806d5e73fdebe0e31d16b362e101347a1
This commit is contained in:
parent
ec67a99636
commit
f5427d519d
|
@ -28,9 +28,9 @@ class ImageMap {
|
|||
const NONE = 4;
|
||||
|
||||
/**
|
||||
* @param Parser &$parser
|
||||
* @param Parser $parser
|
||||
*/
|
||||
public static function onParserFirstCallInit( Parser &$parser ) {
|
||||
public static function onParserFirstCallInit( Parser $parser ) {
|
||||
$parser->setHook( 'imagemap', [ 'ImageMap', 'render' ] );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue