From: Umherirrender Date: Mon, 9 Oct 2017 19:31:07 +0000 (+0200) Subject: Unwrap types in function docs from {} X-Git-Tag: 1.31.0-rc.0~1834 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=fc07f4f8a7974e40e3a3d01313056c2ac590ad1e;p=lhc%2Fweb%2Fwiklou.git Unwrap types in function docs from {} {} is used in javascript, not in php Used @(?:param|return|var|throws) \{[^\}]+\} to find&replace Change-Id: I2e0c9c64b6528f3899d2809d585b5e4859838007 --- diff --git a/includes/utils/AutoloadGenerator.php b/includes/utils/AutoloadGenerator.php index 4f639c13fb..421a89067f 100644 --- a/includes/utils/AutoloadGenerator.php +++ b/includes/utils/AutoloadGenerator.php @@ -156,8 +156,8 @@ class AutoloadGenerator { /** * Generates a PHP file setting up autoload information. * - * @param {string} $commandName Command name to include in comment - * @param {string} $filename of PHP file to put autoload information in. + * @param string $commandName Command name to include in comment + * @param string $filename of PHP file to put autoload information in. * @return string */ protected function generatePHPAutoload( $commandName, $filename ) {