From ba45d92a68235e497d7a8299bc312d56ff99b829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.chilliet@fusiondirectory.org> Date: Wed, 9 Oct 2019 14:12:03 +0200 Subject: [PATCH] :ambulance: fix(templates) Fix parseMask signature issue #6034 --- include/class_templateHandling.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/class_templateHandling.inc b/include/class_templateHandling.inc index 692f834a1..55152ba5e 100644 --- a/include/class_templateHandling.inc +++ b/include/class_templateHandling.inc @@ -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 ['%']; -- GitLab