X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTemplateParser.php;h=4210a965baafbf7f43b89b1cea0d9e79dcc43b34;hb=1d9fd23ab3583788fb2e3ae8e641cf83b09ef8df;hp=9271e3f7296731ace3b914e4bfd516cf05ca7d79;hpb=216865344b108082f9500b5eb8cd5efeaa7df72f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/TemplateParser.php b/includes/TemplateParser.php index 9271e3f729..4210a965ba 100644 --- a/includes/TemplateParser.php +++ b/includes/TemplateParser.php @@ -67,7 +67,7 @@ class TemplateParser { } /** - * Constructs the location of the the source Mustache template + * Constructs the location of the source Mustache template * @param string $templateName The name of the template * @return string * @throws UnexpectedValueException If $templateName attempts upwards directory traversal @@ -209,8 +209,11 @@ class TemplateParser { * ); * @endcode * @param string $templateName The name of the template + * @param-taint $templateName exec_misc * @param mixed $args + * @param-taint $args none * @param array $scopes + * @param-taint $scopes none * @return string */ public function processTemplate( $templateName, $args, array $scopes = [] ) {