*/
class TextContent extends AbstractContent {
+ /**
+ * @var string
+ */
+ protected $mText;
+
/**
* @param string $text
* @param string $model_id
* changes.
*
* @since 1.28
- * @param $text
+ * @param string $text
* @return string
*/
public static function normalizeLineEndings( $text ) {
*
* @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