X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fmocks%2Fcontent%2FDummyNonTextContent.php;h=91bb1866d68ff5dacd2ae63198a33f67410543fd;hb=d2b5c86eac27b0ce60076502f195b1b37d762c60;hp=889efb716cf3c1a7d917cddd3675a5fa5dd766d7;hpb=2c82424b47453eb666c1835294a3648a1dc2088a;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/mocks/content/DummyNonTextContent.php b/tests/phpunit/mocks/content/DummyNonTextContent.php index 889efb716c..91bb1866d6 100644 --- a/tests/phpunit/mocks/content/DummyNonTextContent.php +++ b/tests/phpunit/mocks/content/DummyNonTextContent.php @@ -82,7 +82,7 @@ class DummyNonTextContent extends AbstractContent { * Returns true if this content is countable as a "real" wiki page, provided * that it's also in a countable location (e.g. a current revision in the main namespace). * - * @param bool $hasLinks If it is known whether this content contains links, + * @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 bool */ @@ -110,7 +110,7 @@ class DummyNonTextContent extends AbstractContent { * * @param Title $title Context title for parsing * @param int|null $revId Revision ID (for {{REVISIONID}}) - * @param ParserOptions $options Parser options + * @param ParserOptions $options * @param bool $generateHtml Whether or not to generate HTML * @param ParserOutput &$output The output object to fill (reference). */