Soeren.oldag has submitted this change and it was merged.

Change subject: SpecialConstraintReport::execute() now takes Entity instead of 
EntityDocument.
......................................................................


SpecialConstraintReport::execute() now takes Entity instead of EntityDocument.

Change-Id: I8950e7ee1a8b1708df7339c248c85f784ec691d4
---
M specials/SpecialConstraintReport.php
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Soeren.oldag: Verified; Looks good to me, approved



diff --git a/specials/SpecialConstraintReport.php 
b/specials/SpecialConstraintReport.php
index b28b206..9059c92 100755
--- a/specials/SpecialConstraintReport.php
+++ b/specials/SpecialConstraintReport.php
@@ -6,7 +6,7 @@
 use DataValues\DataValue;
 use Html;
 use Wikibase\DataModel;
-use Wikibase\DataModel\Entity\EntityDocument;
+use Wikibase\DataModel\Entity\Entity;
 use Wikibase\DataModel\Entity\EntityId;
 use Wikibase\DataModel\Entity\ItemId;
 use Wikibase\DataModel\Entity\PropertyId;
@@ -93,11 +93,11 @@
        /**
         * @see SpecialCheckResultPage::executeCheck
         *
-        * @param EntityDocument $entity
+        * @param Entity $entity
         *
         * @return string
         */
-       protected function executeCheck( EntityDocument $entity ) {
+       protected function executeCheck( Entity $entity ) {
                // Run constraint checker
                $constraintChecker = new ConstraintChecker( $this->entityLookup 
);
                $results = $constraintChecker->execute( $entity );

-- 
To view, visit https://gerrit.wikimedia.org/r/205845
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8950e7ee1a8b1708df7339c248c85f784ec691d4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikidataQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Soeren.oldag <soeren_ol...@freenet.de>
Gerrit-Reviewer: Soeren.oldag <soeren_ol...@freenet.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to