X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FContent.php;h=3e5878281fda632b3ae5ba2b5074d154802d5abf;hb=fa15c987874009401f73f39cb06430c24a0ce9d7;hp=931128faedfa69b0cd5500db26eb0fbcad977733;hpb=ae69acacf567077b3f49d1fe6c3f3770e72a9093;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/Content.php b/includes/content/Content.php index 931128faed..3e5878281f 100644 --- a/includes/content/Content.php +++ b/includes/content/Content.php @@ -381,7 +381,7 @@ interface Content { * * @since 1.21 * - * @param string|number $sectionId Section identifier as a number or string + * @param string|int $sectionId Section identifier as a number or string * (e.g. 0, 1 or 'T-1'). The ID "0" retrieves the section before the first heading, "1" the * text between the first heading (included) and the second heading (excluded), etc. * @@ -396,7 +396,7 @@ interface Content { * * @since 1.21 * - * @param string|number|null|bool $sectionId Section identifier as a number or string + * @param string|int|null|bool $sectionId Section identifier as a number or string * (e.g. 0, 1 or 'T-1'), null/false or an empty string for the whole page * or 'new' for a new section. * @param Content $with New content of the section @@ -483,11 +483,11 @@ interface Content { * @since 1.21 * * @param WikiPage $page The deleted page - * @param ParserOutput $parserOutput Optional parser output object + * @param ParserOutput|null $parserOutput Optional parser output object * for efficient access to meta-information about the content object. * Provide if you have one handy. * - * @return DataUpdate[] A list of DataUpdate instances that will clean up the + * @return DeferrableUpdate[] A list of DeferrableUpdate instances that will clean up the * database after deletion. */ public function getDeletionUpdates( WikiPage $page,