Fix @return documentation for MediaWikiTestCase::editPage()
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Tue, 30 Apr 2019 15:06:46 +0000 (17:06 +0200)
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Tue, 30 Apr 2019 15:06:46 +0000 (17:06 +0200)
Change-Id: Iec6ec28256b014a2c745413786d0ba5e8d5839d7

tests/phpunit/MediaWikiTestCase.php

index fd0cea1..ebc3b79 100644 (file)
@@ -2369,7 +2369,7 @@ abstract class MediaWikiTestCase extends PHPUnit\Framework\TestCase {
         * @param string $text Content of the page
         * @param string $summary Optional summary string for the revision
         * @param int $defaultNs Optional namespace id
-        * @return array Array as returned by WikiPage::doEditContent()
+        * @return Status Object as returned by WikiPage::doEditContent()
         * @throws MWException If this test cases's needsDB() method doesn't return true.
         *         Test cases can use "@group Database" to enable database test support,
         *         or list the tables under testing in $this->tablesUsed, or override the