jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Aude: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Ib2387a6228fa19c328dd29ea23cc509651787f6c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits