From: Jakub Vrana Date: Sat, 1 Dec 2018 08:47:28 +0000 (+0100) Subject: Remove unused parameter X-Git-Tag: 1.34.0-rc.0~3347^2 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=758caf7f932f8690338faead250d01e8593edc7d;p=lhc%2Fweb%2Fwiklou.git Remove unused parameter Found by PHPStan. Change-Id: I8ed0561c18e2af4ee146123b534a864d5ab7f975 --- diff --git a/languages/Language.php b/languages/Language.php index aa287e926a..50963b027f 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -4241,12 +4241,11 @@ class Language { /** * Perform output conversion on a string, and encode for safe HTML output. * @param string $text Text to be converted - * @param bool $isTitle Whether this conversion is for the article title * @return string * @todo this should get integrated somewhere sane */ - public function convertHtml( $text, $isTitle = false ) { - return htmlspecialchars( $this->convert( $text, $isTitle ) ); + public function convertHtml( $text ) { + return htmlspecialchars( $this->convert( $text ) ); } /**