From: Jakub Vrana Date: Sat, 1 Dec 2018 16:55:25 +0000 (+0100) Subject: media: Do not pass unused parameter X-Git-Tag: 1.34.0-rc.0~3346^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=a8b411800f1c16e85824c2be68c897b8ec3872eb;p=lhc%2Fweb%2Fwiklou.git media: Do not pass unused parameter Found by PHPStan. Change-Id: Id9418a5aa95e8541824bbf1235307a3969e75fb8 --- diff --git a/includes/media/SVGMetadataExtractor.php b/includes/media/SVGMetadataExtractor.php index e52bf0b26a..ca398ff14f 100644 --- a/includes/media/SVGMetadataExtractor.php +++ b/includes/media/SVGMetadataExtractor.php @@ -165,7 +165,7 @@ class SVGReader { } elseif ( $isSVG && $tag == 'desc' ) { $this->readField( $tag, 'description' ); } elseif ( $isSVG && $tag == 'metadata' && $type == XMLReader::ELEMENT ) { - $this->readXml( $tag, 'metadata' ); + $this->readXml( 'metadata' ); } elseif ( $isSVG && $tag == 'script' ) { // We normally do not allow scripted svgs. // However its possible to configure MW to let them