From ac205fa84c4bf3250bbcd612863061491d6a3a2d Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Thu, 14 Jan 2021 09:20:36 +0100 Subject: Fix incomplete/bogus PHPDoc tags in various tests Most of these are found by the not yet released I10559d8. I remove the type MockObject in some cases when the calling code really does not need to know if he get's a mock or the real thing. However, I do this only in places that are very closely related to the fixes. Change-Id: I26a4c3c5a8ae141bf56161b52b54bce7e68f2e30 --- tests/phpunit/includes/diff/DifferenceEngineTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/phpunit/includes/diff/DifferenceEngineTest.php') diff --git a/tests/phpunit/includes/diff/DifferenceEngineTest.php b/tests/phpunit/includes/diff/DifferenceEngineTest.php index 9af8a7d24ed8..ae2371d6a228 100644 --- a/tests/phpunit/includes/diff/DifferenceEngineTest.php +++ b/tests/phpunit/includes/diff/DifferenceEngineTest.php @@ -311,7 +311,7 @@ class DifferenceEngineTest extends MediaWikiIntegrationTestCase { /** * Convert a HTML diff to a human-readable format and hopefully make the test less fragile. - * @param string diff + * @param string $diff * @return string */ private function getPlainDiff( $diff ) { @@ -346,7 +346,7 @@ class DifferenceEngineTest extends MediaWikiIntegrationTestCase { } /** - * @param SlotRecord[] $slots + * @param SlotRecord ...$slots * @return MutableRevisionRecord */ private function getRevisionRecord( ...$slots ) { -- cgit v1.2.3