Jeroen De Dauw has uploaded a new change for review.

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


Change subject: Fix method signature mismatch causing PHP notices
......................................................................

Fix method signature mismatch causing PHP notices

Change-Id: Ib2387a6228fa19c328dd29ea23cc509651787f6c
---
M repo/tests/phpunit/includes/content/ItemContentTest.php
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/98/93098/1

diff --git a/repo/tests/phpunit/includes/content/ItemContentTest.php 
b/repo/tests/phpunit/includes/content/ItemContentTest.php
index 35ec1ea..86ee9a0 100644
--- a/repo/tests/phpunit/includes/content/ItemContentTest.php
+++ b/repo/tests/phpunit/includes/content/ItemContentTest.php
@@ -3,6 +3,7 @@
 namespace Wikibase\Test;
 
 use Wikibase\DataModel\SimpleSiteLink;
+use Wikibase\EntityContent;
 use Wikibase\ItemContent;
 
 /**
@@ -197,10 +198,10 @@
         *
         * @dataProvider getTextForSearchIndexProvider
         *
-        * @param ItemContent $itemContent
+        * @param EntityContent $itemContent
         * @param string $pattern
         */
-       public function testGetTextForSearchIndex( ItemContent $itemContent, 
$pattern ) {
+       public function testGetTextForSearchIndex( EntityContent $itemContent, 
$pattern ) {
                $text = $itemContent->getTextForSearchIndex();
                $this->assertRegExp( $pattern . 'm', $text );
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2387a6228fa19c328dd29ea23cc509651787f6c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
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