X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FWikitextContent.php;h=a760a1b52fccdaae491c61ca4c537e950e38a868;hb=5a451fd01be397db3209c1881a335423706da5c2;hp=8e5e0a83053f2a40ec25ff00562b87d44e98132f;hpb=63541200513fe472b95d17ea6bda187ef2e63807;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,