jenkins-bot has submitted this change and it was merged.
Change subject: Fix wrong type hint
......................................................................
Fix wrong type hint
Change-Id: I51617fdea017510c95f8c3e6398bd459214f67b5
---
M api/GetViolationMessages.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Addshore: Looks good to me, approved
jenkins-bot: Verified
diff --git a/api/GetViolationMessages.php b/api/GetViolationMessages.php
index 2d110a5..1a3afd9 100644
--- a/api/GetViolationMessages.php
+++ b/api/GetViolationMessages.php
@@ -139,11 +139,11 @@
}
/**
- * @param string $entityId
+ * @param EntityId $entityId
*
* @return Violation[]
*/
- private function getViolationsOfEntity( $entityId ) {
+ private function getViolationsOfEntity( EntityId $entityId ) {
$query = new ViolationQuery();
$query->setEntityId( $entityId );
$query->setStatuses( array( Violation::STATUS_VIOLATION ) );
--
To view, visit https://gerrit.wikimedia.org/r/229635
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I51617fdea017510c95f8c3e6398bd459214f67b5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQuality
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits