X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ftitle%2FMalformedTitleException.php;h=213343f968705df0aa63f58916956bd0d0d2ebe5;hb=d5a7166771613dfe4ed9fb75fa5efeced6134bd1;hp=2dddac5c2c8962ddf603a2854ea82b9db7b687f4;hpb=12846c08cb7f721011952da0aebb95657d7d030c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/title/MalformedTitleException.php b/includes/title/MalformedTitleException.php index 2dddac5c2c..213343f968 100644 --- a/includes/title/MalformedTitleException.php +++ b/includes/title/MalformedTitleException.php @@ -34,7 +34,7 @@ class MalformedTitleException extends Exception implements ILocalizedException { * $titleText will be appended if it's not null. (since MW 1.26) */ public function __construct( - $errorMessage = null, $titleText = null, $errorMessageParameters = [] + $errorMessage, $titleText = null, $errorMessageParameters = [] ) { $this->errorMessage = $errorMessage; $this->titleText = $titleText; @@ -59,7 +59,7 @@ class MalformedTitleException extends Exception implements ILocalizedException { /** * @since 1.26 - * @return string|null + * @return string */ public function getErrorMessage() { return $this->errorMessage;