From 52338150c8c2798af904c429a3620d0ec9713889 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 6 Apr 2018 13:07:01 +0200 Subject: [PATCH] Fix return type for html strings Change-Id: Ifc1ae7740ad1b130186b4b970d3d84651b016177 --- includes/parser/Parser.php | 2 +- languages/Language.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index d34257fa5b..b66031cc88 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1471,7 +1471,7 @@ class Parser { /** * @throws MWException * @param array $m - * @return HTML|string + * @return string HTML */ public function magicLinkCallback( $m ) { if ( isset( $m[1] ) && $m[1] !== '' ) { diff --git a/languages/Language.php b/languages/Language.php index fc8ef87c64..b71defa46f 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -4822,7 +4822,7 @@ class Language { * @param string $details HTML safe text between brackets * @param bool $oppositedm Add the direction mark opposite to your * language, to display text properly - * @return HTML escaped string + * @return string HTML escaped */ function specialList( $page, $details, $oppositedm = true ) { if ( !$details ) { -- 2.20.1