aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/diff/TextSlotDiffRendererTest.php
diff options
context:
space:
mode:
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>2021-01-14 09:20:36 +0100
committerUmherirrender <umherirrender_de.wp@web.de>2021-01-14 19:02:00 +0000
commitac205fa84c4bf3250bbcd612863061491d6a3a2d (patch)
tree9271a24e7594b9c248f91689bbf780350f2625dc /tests/phpunit/includes/diff/TextSlotDiffRendererTest.php
parent567e4365189ad5fcd14764f24b6042a6a2fb109f (diff)
downloadmediawikicore-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/TextSlotDiffRendererTest.php')
-rw-r--r--tests/phpunit/includes/diff/TextSlotDiffRendererTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/diff/TextSlotDiffRendererTest.php b/tests/phpunit/includes/diff/TextSlotDiffRendererTest.php
index c352ae693449..f234f26c7086 100644
--- a/tests/phpunit/includes/diff/TextSlotDiffRendererTest.php
+++ b/tests/phpunit/includes/diff/TextSlotDiffRendererTest.php
@@ -105,7 +105,7 @@ class TextSlotDiffRendererTest 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 ) {