From: Jakub Vrana Date: Sat, 1 Dec 2018 16:43:51 +0000 (+0100) Subject: export: Do not pass unused parameter X-Git-Tag: 1.34.0-rc.0~3382^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=3559bca6f7458d85c08ad53aba424a4f32c9102c;p=lhc%2Fweb%2Fwiklou.git export: Do not pass unused parameter Found by PHPStan. Change-Id: I0e4971a3d5a4170ada776cd88ea664806f23c6ed --- diff --git a/includes/export/DumpFilter.php b/includes/export/DumpFilter.php index 1349c54b95..088c7b19cb 100644 --- a/includes/export/DumpFilter.php +++ b/includes/export/DumpFilter.php @@ -67,7 +67,7 @@ class DumpFilter { * @param string $string */ function writeOpenPage( $page, $string ) { - $this->sendingThisPage = $this->pass( $page, $string ); + $this->sendingThisPage = $this->pass( $page ); if ( $this->sendingThisPage ) { $this->sink->writeOpenPage( $page, $string ); }