Merge "Get better error message for duplicate names in MagicWordArray"
[lhc/web/wiklou.git] / includes / MagicWordArray.php
index 1c27833..5856e21 100644 (file)
@@ -269,7 +269,7 @@ class MagicWordArray {
         * Returns an associative array, ID => param value, for all items that match
         * Removes the matched items from the input string (passed by reference)
         *
-        * @param string $text
+        * @param string &$text
         *
         * @return array
         */
@@ -313,7 +313,7 @@ class MagicWordArray {
         * Return false if no match found and $text is not modified.
         * Does not match parameters.
         *
-        * @param string $text
+        * @param string &$text
         *
         * @return int|bool False on failure
         */