aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/parser/ParserOutput.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php
index d591c28f2f64..569d0dfc22f9 100644
--- a/includes/parser/ParserOutput.php
+++ b/includes/parser/ParserOutput.php
@@ -1607,12 +1607,13 @@ class ParserOutput extends CacheTime {
* parsing, this method appends values to a set. See
* ::setExtensionData() for the flag-like version of this method.
*
- * @note Only values which can be array keys are supported as a value.
+ * @note Only values which can be array keys are currently supported
+ * as values.
*
* @param string $key The key for accessing the data. Extensions should take care to avoid
* conflicts in naming keys. It is suggested to use the extension's name as a prefix.
*
- * @param mixed|JsonUnserializable $value The value to append to the list.
+ * @param int|string $value The value to append to the list.
* @since 1.38
*/
public function appendExtensionData( string $key, $value ): void {