Bene has uploaded a new change for review.
https://gerrit.wikimedia.org/r/268866
Change subject: Remove references to Entity from MockRepository
......................................................................
Remove references to Entity from MockRepository
Change-Id: Ia7d1e4187bb5ab804976d943989dbf2830b345f2
---
M lib/tests/phpunit/MockRepository.php
1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/66/268866/1
diff --git a/lib/tests/phpunit/MockRepository.php
b/lib/tests/phpunit/MockRepository.php
index 4e35177..3cecaa5 100644
--- a/lib/tests/phpunit/MockRepository.php
+++ b/lib/tests/phpunit/MockRepository.php
@@ -4,7 +4,6 @@
use Status;
use User;
-use Wikibase\DataModel\Entity\Entity;
use Wikibase\DataModel\Entity\EntityDocument;
use Wikibase\DataModel\Entity\EntityId;
use Wikibase\DataModel\Entity\EntityRedirect;
@@ -321,7 +320,7 @@
*
* @param EntityId $entityId
*
- * @return Entity
+ * @return EntityDocument
*/
public function removeEntity( EntityId $entityId ) {
try {
@@ -368,7 +367,7 @@
*
* @param EntityId[] $entityIds
*
- * @return Entity|null[]
+ * @return EntityDocument|null[]
*/
public function getEntities( array $entityIds ) {
$entities = array();
--
To view, visit https://gerrit.wikimedia.org/r/268866
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7d1e4187bb5ab804976d943989dbf2830b345f2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Bene <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits