X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FCreateDoxygen.php;h=1ceb34106e288883b2da123910de68d3e6247549;hb=fd5914011cb5c67b827886a5db0e7760a307ad1d;hp=ec8805f5f83153ee438943e66644b51b4edaf633;hpb=af88c2daa34e39cb6430abf64d0648665bfeb9cd;p=friendica.git diff --git a/src/Console/CreateDoxygen.php b/src/Console/CreateDoxygen.php index ec8805f5f8..1ceb34106e 100644 --- a/src/Console/CreateDoxygen.php +++ b/src/Console/CreateDoxygen.php @@ -1,11 +1,28 @@ . + * + */ namespace Friendica\Console; /** * Description of CreateDoxygen - * - * @author Hypolite Petovan */ class CreateDoxygen extends \Asika\SimpleConsole\Console { @@ -28,7 +45,7 @@ HELP; return $help; } - protected function doExecute() + protected function doExecute(): int { if ($this->getOption('v')) { $this->out('Class: ' . __CLASS__); @@ -56,7 +73,7 @@ HELP; $previous = ""; - foreach ($lines AS $line) { + foreach ($lines as $line) { $line = rtrim(trim($line, "\r")); if (strstr(strtolower($line), "function")) { @@ -130,7 +147,7 @@ HELP; if ($line != "") { $parameters = explode(",", $line); - foreach ($parameters AS $parameter) { + foreach ($parameters as $parameter) { $parameter = trim($parameter); $splitted = explode("=", $parameter);