From: Kunal Mehta Date: Wed, 24 Aug 2016 00:48:55 +0000 (-0700) Subject: EditPage: Fix some doc blocks X-Git-Tag: 1.31.0-rc.0~5920 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=adccb39e8c4f10fca38fdf1b7de92182d8c796fb;p=lhc%2Fweb%2Fwiklou.git EditPage: Fix some doc blocks Change-Id: I0399df658b3b9c000b72dacbdc4ea18678a32db4 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index b5beceeeba..44f6d0f5eb 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -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 */