Commit ba45d92a authored by Côme Chilliet's avatar Côme Chilliet

🚑 fix(templates) Fix parseMask signature

issue #6034
parent 0167f527
......@@ -117,8 +117,11 @@ class templateHandling
return $errors;
}
/*! \brief Parse a mask (without surrounding %) using $attrs attributes, apply modifiers and returns an array containing possible results */
public static function parseMask (string $mask, array $attrs): array
/*! \brief Parse a mask (without surrounding %) using $attrs attributes and apply modifiers
*
* \return iterable an array or iterable object of possible results
*/
public static function parseMask (string $mask, array $attrs)
{
if ($mask == '|') {
return ['%'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment