mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 08:50:07 +00:00
Merge "Use __CLASS__ instead of repeating the class name"
This commit is contained in:
commit
47e642fa27
|
@ -8,8 +8,8 @@ class CiteParserTagHooks {
|
||||||
* @param Parser $parser
|
* @param Parser $parser
|
||||||
*/
|
*/
|
||||||
public static function initialize( Parser $parser ) {
|
public static function initialize( Parser $parser ) {
|
||||||
$parser->setHook( 'ref', 'CiteParserTagHooks::ref' );
|
$parser->setHook( 'ref', __CLASS__ . '::ref' );
|
||||||
$parser->setHook( 'references', 'CiteParserTagHooks::references' );
|
$parser->setHook( 'references', __CLASS__ . '::references' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue