Jeroen De Dauw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/229635

Change subject: Fix wrong type hint
......................................................................

Fix wrong type hint

Change-Id: I51617fdea017510c95f8c3e6398bd459214f67b5
---
M api/GetViolationMessages.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseQuality 
refs/changes/35/229635/1

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: newchange
Gerrit-Change-Id: I51617fdea017510c95f8c3e6398bd459214f67b5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQuality
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to