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

:ambulance: fix(templates) Fix parseMask signature

issue #6034
Showing with 5 additions and 2 deletions
+5 -2
...@@ -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 ['%'];
......
Supports Markdown
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