From 3559bca6f7458d85c08ad53aba424a4f32c9102c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 1 Dec 2018 17:43:51 +0100 Subject: [PATCH] export: Do not pass unused parameter Found by PHPStan. Change-Id: I0e4971a3d5a4170ada776cd88ea664806f23c6ed --- includes/export/DumpFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.20.1