Thiemo Mättig (WMDE) has uploaded a new change for review.
https://gerrit.wikimedia.org/r/190779
Change subject: Drop duplicate @throws tags
......................................................................
Drop duplicate @throws tags
I introduced one in If0e2182. I found the other one with a regex.
Change-Id: I06afe518da83abdf3f43ca57f8955d510dfc2cfd
---
M lib/includes/store/TermLookup.php
M repo/includes/Localizer/ChangeOpValidationExceptionLocalizer.php
2 files changed, 0 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/79/190779/1
diff --git a/lib/includes/store/TermLookup.php
b/lib/includes/store/TermLookup.php
index e8b6b26..4fb59b6 100644
--- a/lib/includes/store/TermLookup.php
+++ b/lib/includes/store/TermLookup.php
@@ -24,9 +24,7 @@
* @param string $languageCode
*
* @throws OutOfBoundsException for label or entity not found
- *
* @return string
- * @throws OutOfBoundsException if no such label was found
*/
public function getLabel( EntityId $entityId, $languageCode );
diff --git a/repo/includes/Localizer/ChangeOpValidationExceptionLocalizer.php
b/repo/includes/Localizer/ChangeOpValidationExceptionLocalizer.php
index 172006f..17cb86d 100644
--- a/repo/includes/Localizer/ChangeOpValidationExceptionLocalizer.php
+++ b/repo/includes/Localizer/ChangeOpValidationExceptionLocalizer.php
@@ -37,7 +37,6 @@
*
* @throws InvalidArgumentException
* @return Message
- * @throws InvalidArgumentException
*/
public function getExceptionMessage( Exception $exception ) {
if ( !$this->hasExceptionMessage( $exception ) ) {
--
To view, visit https://gerrit.wikimedia.org/r/190779
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I06afe518da83abdf3f43ca57f8955d510dfc2cfd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits