X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fcontent%2FContent.php;h=6a0a63bfbda2b4ed749689a2916ea9c81dd1b6d2;hb=454b199537b53bf1851afe8d38c9c0a817a6a310;hp=76881bc55f4d4e68f28ffda302dec79431b003a5;hpb=58cb1f824ac75c3b58ba19d1e88c1b38f9dc1fab;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/Content.php b/includes/content/Content.php index 76881bc55f..6a0a63bfbd 100644 --- a/includes/content/Content.php +++ b/includes/content/Content.php @@ -243,7 +243,7 @@ interface Content { * * @since 1.21 * - * @param bool $hasLinks If it is known whether this content contains + * @param bool|null $hasLinks If it is known whether this content contains * links, provide this information here, to avoid redundant parsing to * find out. * @@ -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