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:
parent
2c30dadafc
commit
faf2e14517
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue