X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FContent.php;h=931128faedfa69b0cd5500db26eb0fbcad977733;hb=cfad9f3cbf53d07547e2665c98639ad4e99eead4;hp=8ed761f5d3d35b460b6e0db4f5d80a6714c58ee7;hpb=2acd18dd570dfb1cc3d0731a7c861453c0ca9b40;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