From: Umherirrender Date: Fri, 6 Apr 2018 11:07:01 +0000 (+0200) Subject: Fix return type for html strings X-Git-Tag: 1.31.0-rc.0~170^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/supprimer.php?a=commitdiff_plain;ds=sidebyside;h=52338150c8c2798af904c429a3620d0ec9713889;p=lhc%2Fweb%2Fwiklou.git Fix return type for html strings Change-Id: Ifc1ae7740ad1b130186b4b970d3d84651b016177 --- 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 ) {