X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FTextContent.php;h=71f65b37e19504ad975586553675e8d197b2a916;hb=899f475d0dad8ea0a24f706fc8ac07e3097d6191;hp=7bb4def2a6c555742b1563802de6b12d292851bd;hpb=e968a1f431ad058dcb14adb2757bde5664b99a79;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/TextContent.php b/includes/content/TextContent.php index 7bb4def2a6..71f65b37e1 100644 --- a/includes/content/TextContent.php +++ b/includes/content/TextContent.php @@ -34,6 +34,11 @@ */ class TextContent extends AbstractContent { + /** + * @var string + */ + protected $mText; + /** * @param string $text * @param string $model_id @@ -157,7 +162,7 @@ class TextContent extends AbstractContent { * changes. * * @since 1.28 - * @param $text + * @param string $text * @return string */ public static function normalizeLineEndings( $text ) { @@ -231,9 +236,9 @@ class TextContent extends AbstractContent { * * @param Title $title Context title for parsing * @param int $revId Revision ID (for {{REVISIONID}}) - * @param ParserOptions $options Parser options + * @param ParserOptions $options * @param bool $generateHtml Whether or not to generate HTML - * @param ParserOutput $output The output object to fill (reference). + * @param ParserOutput &$output The output object to fill (reference). */ protected function fillParserOutput( Title $title, $revId, ParserOptions $options, $generateHtml, ParserOutput &$output