mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-12 01:01:52 +00:00
Stop passing objects by reference
Bug: T193950 Change-Id: I1695035499c6e6a612cbf2ed8090bbe7bb04bfea
This commit is contained in:
parent
258a2dade3
commit
ff039d713e
|
@ -13,10 +13,10 @@ class InputBoxHooks {
|
|||
|
||||
/**
|
||||
* Initialization
|
||||
* @param Parser &$parser
|
||||
* @param Parser $parser
|
||||
* @return true
|
||||
*/
|
||||
public static function register( Parser &$parser ) {
|
||||
public static function register( Parser $parser ) {
|
||||
// Register the hook with the parser
|
||||
$parser->setHook( 'inputbox', [ 'InputBoxHooks', 'render' ] );
|
||||
|
||||
|
|
Loading…
Reference in a new issue