aboutsummaryrefslogtreecommitdiffstats
path: root/includes/CommentFormatter/CommentParser.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/CommentFormatter/CommentParser.php')
-rw-r--r--includes/CommentFormatter/CommentParser.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/CommentFormatter/CommentParser.php b/includes/CommentFormatter/CommentParser.php
index f7f4e551d161..e569c74182b2 100644
--- a/includes/CommentFormatter/CommentParser.php
+++ b/includes/CommentFormatter/CommentParser.php
@@ -419,6 +419,7 @@ class CommentParser {
if ( $linkMarker ) {
// If the link is still valid, go ahead and replace it in!
$comment = preg_replace(
+ // @phan-suppress-next-line PhanTypeMismatchArgumentNullableInternal linkRegexp set when used
$linkRegexp,
$linkMarker,
$comment,