Jeroen De Dauw has uploaded a new change for review. https://gerrit.wikimedia.org/r/153607
Change subject: Fix phpdocs ...................................................................... Fix phpdocs Change-Id: I2dbad351ccf9ca41628cd310bdd97575a53136fa --- M lib/includes/Localizer/DispatchingExceptionLocalizer.php M lib/includes/Localizer/MessageExceptionLocalizer.php M lib/includes/Localizer/ParseExceptionLocalizer.php 3 files changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/07/153607/1 diff --git a/lib/includes/Localizer/DispatchingExceptionLocalizer.php b/lib/includes/Localizer/DispatchingExceptionLocalizer.php index 9373b3c..6d7fb8b 100644 --- a/lib/includes/Localizer/DispatchingExceptionLocalizer.php +++ b/lib/includes/Localizer/DispatchingExceptionLocalizer.php @@ -33,6 +33,7 @@ * @param Exception $exception * * @return Message + * @throws InvalidArgumentException */ public function getExceptionMessage( Exception $exception ) { $localizer = $this->getLocalizerForException( $exception ); diff --git a/lib/includes/Localizer/MessageExceptionLocalizer.php b/lib/includes/Localizer/MessageExceptionLocalizer.php index 9710ce4..be98467 100644 --- a/lib/includes/Localizer/MessageExceptionLocalizer.php +++ b/lib/includes/Localizer/MessageExceptionLocalizer.php @@ -20,6 +20,7 @@ * @param Exception $exception * * @return Message + * @throws InvalidArgumentException */ public function getExceptionMessage( Exception $exception ) { if ( !$this->hasExceptionMessage( $exception ) ) { diff --git a/lib/includes/Localizer/ParseExceptionLocalizer.php b/lib/includes/Localizer/ParseExceptionLocalizer.php index 745e3cb..dc2dc99 100644 --- a/lib/includes/Localizer/ParseExceptionLocalizer.php +++ b/lib/includes/Localizer/ParseExceptionLocalizer.php @@ -19,9 +19,10 @@ /** * @see ExceptionLocalizer::getExceptionMessage() * - * @param ParseException $exception + * @param Exception $exception * * @return Message + * @throws InvalidArgumentException */ public function getExceptionMessage( Exception $exception ) { if ( !$this->hasExceptionMessage( $exception ) ) { -- To view, visit https://gerrit.wikimedia.org/r/153607 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2dbad351ccf9ca41628cd310bdd97575a53136fa Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits