Update parameter documentation for removeHTMLtags()
authorSiebrand Mazeland <siebrand@kitano.nl>
Sat, 10 May 2014 18:28:15 +0000 (20:28 +0200)
committerReedy <reedy@wikimedia.org>
Sun, 11 May 2014 16:36:55 +0000 (16:36 +0000)
Change-Id: I7c0530e5b7d0d2001153d69fa9b9525f661dd5c5

includes/Sanitizer.php

index 59ac046..67cf70c 100644 (file)
@@ -358,7 +358,7 @@ class Sanitizer {
         * @param string $text
         * @param callable $processCallback Callback to do any variable or parameter
         *   replacements in HTML attribute values
-        * @param array $args Arguments for the processing callback
+        * @param array|bool $args Arguments for the processing callback
         * @param array $extratags For any extra tags to include
         * @param array $removetags For any tags (default or extra) to exclude
         * @return string