Verified Commit ba45d92a authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚑 fix(templates) Fix parseMask signature

issue #6034
parent 0167f527
...@@ -117,8 +117,11 @@ class templateHandling ...@@ -117,8 +117,11 @@ class templateHandling
return $errors; return $errors;
} }
/*! \brief Parse a mask (without surrounding %) using $attrs attributes, apply modifiers and returns an array containing possible results */ /*! \brief Parse a mask (without surrounding %) using $attrs attributes and apply modifiers
public static function parseMask (string $mask, array $attrs): array *
* \return iterable an array or iterable object of possible results
*/
public static function parseMask (string $mask, array $attrs)
{ {
if ($mask == '|') { if ($mask == '|') {
return ['%']; 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