Thiemo Mättig (WMDE) has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/351623 )
Change subject: Add missing PHPDoc block to ConstraintParameterParser
......................................................................
Add missing PHPDoc block to ConstraintParameterParser
Change-Id: Ied79707140536535c7cd3c2c0b109b31a64c752c
---
M includes/ConstraintCheck/Helper/ConstraintParameterParser.php
1 file changed, 6 insertions(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseQualityConstraints
refs/changes/23/351623/1
diff --git a/includes/ConstraintCheck/Helper/ConstraintParameterParser.php
b/includes/ConstraintCheck/Helper/ConstraintParameterParser.php
index e945b06..d799ae3 100644
--- a/includes/ConstraintCheck/Helper/ConstraintParameterParser.php
+++ b/includes/ConstraintCheck/Helper/ConstraintParameterParser.php
@@ -38,6 +38,12 @@
}
}
+ /**
+ * @param mixed $parameter
+ * @param bool $asString
+ *
+ * @return string|ItemId|PropertyId
+ */
private function parseParameter( $parameter, $asString = false ) {
if ( $parameter === null ) {
return wfMessage( "wbqc-constraintreport-no-parameter"
)->escaped();
--
To view, visit https://gerrit.wikimedia.org/r/351623
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied79707140536535c7cd3c2c0b109b31a64c752c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
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