Merge "Use __CLASS__ instead of repeating the class name"

This commit is contained in:
jenkins-bot 2019-11-12 11:21:00 +00:00 committed by Gerrit Code Review
commit 47e642fa27

View file

@ -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' );
} }
/** /**