Merge "Add type hint for parserHook"

This commit is contained in:
jenkins-bot 2024-11-04 14:58:29 +00:00 committed by Gerrit Code Review
commit eea2f1f640

View file

@ -181,14 +181,14 @@ class Hooks implements
/**
* Entry point for the <categorytree> tag parser hook.
* This loads CategoryTreeFunctions.php and calls CategoryTree::getTag()
* @param string $cat
* @param string|null $cat
* @param array $argv
* @param Parser|null $parser
* @param PPFrame|null $frame
* @return bool|string
*/
public function parserHook(
$cat,
?string $cat,
array $argv,
?Parser $parser = null,
?PPFrame $frame = null