[MediaWiki-commits] [Gerrit] mediawiki...WikibaseQualityConstraints[master]: Reformat CheckConstraints::getAllowedParams
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/403964 ) Change subject: Reformat CheckConstraints::getAllowedParams .. Reformat CheckConstraints::getAllowedParams Fix the strange double indentation, and while we’re at it, also add trailing commas to make future diffs prettier. Change-Id: Ie131aa140a54d37d901c7b683100fc0d3959258f --- M src/Api/CheckConstraints.php 1 file changed, 12 insertions(+), 12 deletions(-) Approvals: jenkins-bot: Verified Thiemo Kreuz (WMDE): Looks good to me, approved diff --git a/src/Api/CheckConstraints.php b/src/Api/CheckConstraints.php index bcee76f..5f0676f 100644 --- a/src/Api/CheckConstraints.php +++ b/src/Api/CheckConstraints.php @@ -290,18 +290,18 @@ */ public function getAllowedParams() { return [ - self::PARAM_ID => [ - ApiBase::PARAM_TYPE => 'string', - ApiBase::PARAM_ISMULTI => true - ], - self::PARAM_CLAIM_ID => [ - ApiBase::PARAM_TYPE => 'string', - ApiBase::PARAM_ISMULTI => true - ], - self::PARAM_CONSTRAINT_ID => [ - ApiBase::PARAM_TYPE => 'string', - ApiBase::PARAM_ISMULTI => true - ] + self::PARAM_ID => [ + ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_ISMULTI => true, + ], + self::PARAM_CLAIM_ID => [ + ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_ISMULTI => true, + ], + self::PARAM_CONSTRAINT_ID => [ + ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_ISMULTI => true, + ], ]; } -- To view, visit https://gerrit.wikimedia.org/r/403964 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie131aa140a54d37d901c7b683100fc0d3959258f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints Gerrit-Branch: master Gerrit-Owner: Lucas Werkmeister (WMDE) Gerrit-Reviewer: Thiemo Kreuz (WMDE) Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...WikibaseQualityConstraints[master]: Reformat CheckConstraints::getAllowedParams
Lucas Werkmeister (WMDE) has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/403964 ) Change subject: Reformat CheckConstraints::getAllowedParams .. Reformat CheckConstraints::getAllowedParams Fix the strange double indentation, and while we’re at it, also add trailing commas to make future diffs prettier. Change-Id: Ie131aa140a54d37d901c7b683100fc0d3959258f --- M src/Api/CheckConstraints.php 1 file changed, 12 insertions(+), 12 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseQualityConstraints refs/changes/64/403964/1 diff --git a/src/Api/CheckConstraints.php b/src/Api/CheckConstraints.php index bcee76f..5f0676f 100644 --- a/src/Api/CheckConstraints.php +++ b/src/Api/CheckConstraints.php @@ -290,18 +290,18 @@ */ public function getAllowedParams() { return [ - self::PARAM_ID => [ - ApiBase::PARAM_TYPE => 'string', - ApiBase::PARAM_ISMULTI => true - ], - self::PARAM_CLAIM_ID => [ - ApiBase::PARAM_TYPE => 'string', - ApiBase::PARAM_ISMULTI => true - ], - self::PARAM_CONSTRAINT_ID => [ - ApiBase::PARAM_TYPE => 'string', - ApiBase::PARAM_ISMULTI => true - ] + self::PARAM_ID => [ + ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_ISMULTI => true, + ], + self::PARAM_CLAIM_ID => [ + ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_ISMULTI => true, + ], + self::PARAM_CONSTRAINT_ID => [ + ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_ISMULTI => true, + ], ]; } -- To view, visit https://gerrit.wikimedia.org/r/403964 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie131aa140a54d37d901c7b683100fc0d3959258f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints Gerrit-Branch: master Gerrit-Owner: Lucas Werkmeister (WMDE) ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits