X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fcontent%2FTextContent.php;h=e5a9f90d16a555933ef5dac65ff483c7cdfeefbc;hb=5120937028f768749d058aa91dde82a96de0af1c;hp=7bb4def2a6c555742b1563802de6b12d292851bd;hpb=61898ad28ed69c5b391eb43e0db9386279b9612c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/TextContent.php b/includes/content/TextContent.php index 7bb4def2a6..e5a9f90d16 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 ) { @@ -233,7 +238,7 @@ class TextContent extends AbstractContent { * @param int $revId Revision ID (for {{REVISIONID}}) * @param ParserOptions $options Parser 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