diff options
author | Thiemo Kreuz <thiemo.kreuz@wikimedia.de> | 2021-01-14 09:20:36 +0100 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2021-01-14 19:02:00 +0000 |
commit | ac205fa84c4bf3250bbcd612863061491d6a3a2d (patch) | |
tree | 9271a24e7594b9c248f91689bbf780350f2625dc /tests/phpunit/includes/diff/DifferenceEngineTest.php | |
parent | 567e4365189ad5fcd14764f24b6042a6a2fb109f (diff) | |
download | mediawikicore-ac205fa84c4bf3250bbcd612863061491d6a3a2d.tar.gz mediawikicore-ac205fa84c4bf3250bbcd612863061491d6a3a2d.zip |
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
Diffstat (limited to 'tests/phpunit/includes/diff/DifferenceEngineTest.php')
-rw-r--r-- | tests/phpunit/includes/diff/DifferenceEngineTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) { |