From adccb39e8c4f10fca38fdf1b7de92182d8c796fb Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 23 Aug 2016 17:48:55 -0700 Subject: [PATCH] EditPage: Fix some doc blocks Change-Id: I0399df658b3b9c000b72dacbdc4ea18678a32db4 --- includes/EditPage.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 */ -- 2.20.1