Jeroen De Dauw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/229647
Change subject: Add missing type hint in UpdateConstraintsTable
......................................................................
Add missing type hint in UpdateConstraintsTable
Change-Id: Iafb301a03e05c487a99de963ba44e089fe3f873e
---
M maintenance/UpdateConstraintsTable.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseQualityConstraints
refs/changes/47/229647/1
diff --git a/maintenance/UpdateConstraintsTable.php
b/maintenance/UpdateConstraintsTable.php
index a1885d8..117bc85 100644
--- a/maintenance/UpdateConstraintsTable.php
+++ b/maintenance/UpdateConstraintsTable.php
@@ -5,7 +5,7 @@
use Wikibase\DataModel\Entity\PropertyId;
use WikibaseQuality\ConstraintReport\Constraint;
use WikibaseQuality\ConstraintReport\ConstraintReportFactory;
-
+use WikibaseQuality\ConstraintReport\ConstraintRepository;
/**
* Class UpdateConstraintsTable
@@ -38,7 +38,7 @@
fclose( $csvFile );
}
- private function insertValues( $constraintRepo, $csvFile ) {
+ private function insertValues( ConstraintRepository $constraintRepo,
$csvFile ) {
$i = 0;
$accumulator = array();
while ( true ) {
--
To view, visit https://gerrit.wikimedia.org/r/229647
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iafb301a03e05c487a99de963ba44e089fe3f873e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits