Linker: Add @return-taint for formatLinksInComment()

Works around a false positive in the phan-taint-check-plugin.

Bug: T202797
Change-Id: If7c9e729ca7624b3f791fe01d0b768791657277b
This commit is contained in:
Kunal Mehta 2018-08-29 22:08:32 -07:00
parent 2c30dadafc
commit faf2e14517

View file

@ -1212,7 +1212,8 @@ class Linker {
* @param string|null $wikiId Id of the wiki to link to (if not the local wiki),
* as used by WikiMap.
*
* @return string
* @return string HTML
* @return-taint escapes_html
*/
public static function formatLinksInComment(
$comment, $title = null, $local = false, $wikiId = null