X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FRevision%2FRenderedRevision.php;h=ba229d1e8add74e65a01df21a8154f31e599ee7b;hb=327e8ea41681487382d8abe7cb111501954b9d1b;hp=a9132445a5581258fc9101e678eb83f63c4e3e64;hpb=6c76b4ec90fbb1c6d713df84dd4e53b501e2e84c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Revision/RenderedRevision.php b/includes/Revision/RenderedRevision.php index a9132445a5..ba229d1e8a 100644 --- a/includes/Revision/RenderedRevision.php +++ b/includes/Revision/RenderedRevision.php @@ -185,6 +185,7 @@ class RenderedRevision implements SlotRenderingProvider { * @param array $hints Hints given as an associative array. Known keys: * - 'generate-html' => bool: Whether the caller is interested in output HTML (as opposed * to just meta-data). Default is to generate HTML. + * @phan-param array{generate-html?:bool} $hints * * @return ParserOutput */ @@ -212,6 +213,7 @@ class RenderedRevision implements SlotRenderingProvider { * @param array $hints Hints given as an associative array. Known keys: * - 'generate-html' => bool: Whether the caller is interested in output HTML (as opposed * to just meta-data). Default is to generate HTML. + * @phan-param array{generate-html?:bool} $hints * * @throws SuppressedDataException if the content is not accessible for the audience * specified in the constructor. @@ -454,7 +456,7 @@ class RenderedRevision implements SlotRenderingProvider { ) { // If a self-transclusion used the proposed page text, it must match the final // page content after PST transformations and automatically merged edit conflicts - $logger->info( "$varyMsg (vary-revision-sha1 with wrong SHA-1)" ); + $logger->info( "$varyMsg (vary-revision-sha1 with wrong SHA-1)", $context ); return true; }