X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FJsonContent.php;h=7d8f67ce9db579d9cf730a22e20dff4011e16bee;hb=969293ba563c007832c439bb56f584ea201ffc24;hp=14c81823cfc16bbb0480ef8e44b48eda6b0b4b5c;hpb=adae996840b9e782f6e14b21c433a83e37c3a74e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/JsonContent.php b/includes/content/JsonContent.php index 14c81823cf..7d8f67ce9d 100644 --- a/includes/content/JsonContent.php +++ b/includes/content/JsonContent.php @@ -22,6 +22,7 @@ class JsonContent extends TextContent { /** * @param string $text JSON + * @param string $modelId */ public function __construct( $text, $modelId = CONTENT_MODEL_JSON ) { parent::__construct( $text, $modelId ); @@ -74,8 +75,8 @@ class JsonContent extends TextContent { /** * Beautifies JSON prior to save. * - * @param Title $title Title - * @param User $user User + * @param Title $title + * @param User $user * @param ParserOptions $popts * @return JsonContent */ @@ -96,7 +97,7 @@ class JsonContent extends TextContent { * @param int $revId * @param ParserOptions $options * @param bool $generateHtml - * @param ParserOutput $output + * @param ParserOutput &$output */ protected function fillParserOutput( Title $title, $revId, ParserOptions $options, $generateHtml, ParserOutput &$output