Fix doc in maintenance/findHooks.php
authorMatěj Suchánek <matejsuchanek97@gmail.com>
Wed, 22 May 2019 08:34:34 +0000 (10:34 +0200)
committerMatěj Suchánek <matejsuchanek97@gmail.com>
Wed, 22 May 2019 08:34:34 +0000 (10:34 +0200)
Change-Id: Iad3f2fc0910049dbfd5039f3589dd3f3918f1392

maintenance/findHooks.php

index b57db8f..a902397 100644 (file)
@@ -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 ) {