X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fexception%2FLocalizedException.php;h=082d665bc329847025b8b572152a81095b4813c9;hb=d98de9926d033b9eaa30306379dc1815ee27b42f;hp=d2cb5d17ec0292ce6d877f73dc240b95ee3ebe9a;hpb=d84c3dde5af90c5c3497d18e427a5c2a38ac6ca8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/exception/LocalizedException.php b/includes/exception/LocalizedException.php index d2cb5d17ec..082d665bc3 100644 --- a/includes/exception/LocalizedException.php +++ b/includes/exception/LocalizedException.php @@ -18,20 +18,6 @@ * @file */ -/** - * Interface for MediaWiki-localized exceptions - * - * @since 1.29 - * @ingroup Exception - */ -interface ILocalizedException { - /** - * Return a Message object for this exception - * @return Message - */ - public function getMessageObject(); -} - /** * Basic localized exception. * @@ -45,8 +31,9 @@ class LocalizedException extends Exception implements ILocalizedException { /** * @param string|array|MessageSpecifier $messageSpec See Message::newFromSpecifier - * @param int $code Exception code - * @param Exception|Throwable $previous The previous exception used for the exception chaining. + * @param int $code + * @param Exception|Throwable|null $previous The previous exception used for the exception + * chaining. */ public function __construct( $messageSpec, $code = 0, $previous = null ) { $this->messageSpec = $messageSpec;