*
* @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.
*
*
* @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