EditPage: Fix some doc blocks
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 24 Aug 2016 00:48:55 +0000 (17:48 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 24 Aug 2016 01:56:59 +0000 (18:56 -0700)
Change-Id: I0399df658b3b9c000b72dacbdc4ea18678a32db4

includes/EditPage.php

index b5becee..44f6d0f 100644 (file)
@@ -1424,7 +1424,7 @@ class EditPage {
 
        /**
         * Attempt submission
-        * @param array $resultDetails See docs for $result in internalAttemptSave
+        * @param array|bool $resultDetails See docs for $result in internalAttemptSave
         * @throws UserBlockedError|ReadOnlyError|ThrottledError|PermissionsError
         * @return Status The resulting status object.
         */
@@ -2507,7 +2507,7 @@ class EditPage {
         * content.
         *
         * @param string|null|bool $text Text to unserialize
-        * @return Content The content object created from $text. If $text was false
+        * @return Content|bool|null The content object created from $text. If $text was false
         *   or null, false resp. null will be  returned instead.
         *
         * @throws MWException If unserializing the text results in a Content
@@ -3812,8 +3812,8 @@ HTML
         * Parse the page for a preview. Subclasses may override this class, in order
         * to parse with different options, or to otherwise modify the preview HTML.
         *
-        * @param Content @content The page content
-        * @return Associative array with keys:
+        * @param Content $content The page content
+        * @return array with keys:
         *   - parserOutput: The ParserOutput object
         *   - html: The HTML to be displayed
         */