mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-09-24 10:48:58 +00:00
Use __CLASS__ instead of repeating the class name
Change-Id: I97e9d973accd1d3467ed1f04af37e021e55783b3
This commit is contained in:
parent
7ce10d7539
commit
c9310ff7b4
|
@ -8,8 +8,8 @@ class CiteParserTagHooks {
|
|||
* @param Parser $parser
|
||||
*/
|
||||
public static function initialize( Parser $parser ) {
|
||||
$parser->setHook( 'ref', 'CiteParserTagHooks::ref' );
|
||||
$parser->setHook( 'references', 'CiteParserTagHooks::references' );
|
||||
$parser->setHook( 'ref', __CLASS__ . '::ref' );
|
||||
$parser->setHook( 'references', __CLASS__ . '::references' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue