From 0d3d79ae836303454e9269bf59f37aeda8b9ad3b Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 1 Dec 2018 18:09:58 +0100 Subject: [PATCH] Do not pass unused parameter Found by PHPStan. Change-Id: I4a73279b6956b9819e609536ae6774872f1736f4 --- includes/exception/MWException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/exception/MWException.php b/includes/exception/MWException.php index af835e4776..7f70c4fbaf 100644 --- a/includes/exception/MWException.php +++ b/includes/exception/MWException.php @@ -121,7 +121,7 @@ class MWException extends Exception { "Fatal exception of type $1", $type, $logId, - MWExceptionHandler::getURL( $this ) + MWExceptionHandler::getURL() ) ) ) . "