X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FWikitextContent.php;h=a760a1b52fccdaae491c61ca4c537e950e38a868;hb=75e2607211b30103417d73a780498b9d27537b62;hp=8e5e0a83053f2a40ec25ff00562b87d44e98132f;hpb=71dec6feac5d1c18feb51c977ca94a4d5d1a2012;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/WikitextContent.php b/includes/content/WikitextContent.php index 8e5e0a8305..a760a1b52f 100644 --- a/includes/content/WikitextContent.php +++ b/includes/content/WikitextContent.php @@ -89,6 +89,8 @@ class WikitextContent extends TextContent { "document uses $myModelId but " . "section uses $sectionModelId." ); } + /** @var self $with $oldtext */ + '@phan-var self $with'; $oldtext = $this->getText(); $text = $with->getText(); @@ -329,7 +331,8 @@ class WikitextContent extends TextContent { * using the global Parser service. * * @param Title $title - * @param int|null $revId Revision to pass to the parser (default: null) + * @param int|null $revId ID of the revision being rendered. + * See Parser::parse() for the ramifications. (default: null) * @param ParserOptions $options (default: null) * @param bool $generateHtml (default: true) * @param ParserOutput &$output ParserOutput representing the HTML form of the text,