From: Matěj Suchánek Date: Wed, 22 May 2019 08:34:34 +0000 (+0200) Subject: Fix doc in maintenance/findHooks.php X-Git-Tag: 1.34.0-rc.0~1626^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=e34d4796d7ad1098e57e2be614de1557fa635584 Fix doc in maintenance/findHooks.php Change-Id: Iad3f2fc0910049dbfd5039f3589dd3f3918f1392 --- diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index b57db8f18c..a902397391 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -306,7 +306,7 @@ class FindHooks extends Maintenance { /** * Get hooks from a directory of PHP files. * @param string $dir Directory path to start at - * @param int $recursive Pass self::FIND_RECURSIVE + * @param int $recurse Pass self::FIND_RECURSIVE * @return array Array: key => hook name; value => array of arguments or string 'unknown' */ private function getHooksFromDir( $dir, $recurse = 0 ) {