mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-30 19:16:15 +00:00
Merge "Add type hint for parserHook"
This commit is contained in:
commit
eea2f1f640
|
@ -181,14 +181,14 @@ class Hooks implements
|
||||||
/**
|
/**
|
||||||
* Entry point for the <categorytree> tag parser hook.
|
* Entry point for the <categorytree> tag parser hook.
|
||||||
* This loads CategoryTreeFunctions.php and calls CategoryTree::getTag()
|
* This loads CategoryTreeFunctions.php and calls CategoryTree::getTag()
|
||||||
* @param string $cat
|
* @param string|null $cat
|
||||||
* @param array $argv
|
* @param array $argv
|
||||||
* @param Parser|null $parser
|
* @param Parser|null $parser
|
||||||
* @param PPFrame|null $frame
|
* @param PPFrame|null $frame
|
||||||
* @return bool|string
|
* @return bool|string
|
||||||
*/
|
*/
|
||||||
public function parserHook(
|
public function parserHook(
|
||||||
$cat,
|
?string $cat,
|
||||||
array $argv,
|
array $argv,
|
||||||
?Parser $parser = null,
|
?Parser $parser = null,
|
||||||
?PPFrame $frame = null
|
?PPFrame $frame = null
|
||||||
|
|
Loading…
Reference in a new issue