Do not pass unused parameter
authorJakub Vrana <jakub@vrana.cz>
Sat, 1 Dec 2018 17:09:58 +0000 (18:09 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sat, 1 Dec 2018 17:09:58 +0000 (18:09 +0100)
Found by PHPStan.

Change-Id: I4a73279b6956b9819e609536ae6774872f1736f4

includes/exception/MWException.php

index af835e4..7f70c4f 100644 (file)
@@ -121,7 +121,7 @@ class MWException extends Exception {
                                        "Fatal exception of type $1",
                                        $type,
                                        $logId,
-                                       MWExceptionHandler::getURL( $this )
+                                       MWExceptionHandler::getURL()
                                )
                        ) ) .
                        "<!-- Set \$wgShowExceptionDetails = true; " .