X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FContent.php;h=931128faedfa69b0cd5500db26eb0fbcad977733;hb=d2193f9d1df44d92882234e02f8a697adcdfad6e;hp=8ed761f5d3d35b460b6e0db4f5d80a6714c58ee7;hpb=03d738101c47e7f2fa5007a9cc030c667288222d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/Content.php b/includes/content/Content.php index 8ed761f5d3..931128faed 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. * @@ -445,7 +445,7 @@ interface Content { * * @return Content */ - public function preloadTransform( Title $title, ParserOptions $parserOptions, $params = array() ); + public function preloadTransform( Title $title, ParserOptions $parserOptions, $params = [] ); /** * Prepare Content for saving. Called before Content is saved by WikiPage::doEditContent() and in