Tighten up phan type for ContentRenderer::getParserOutput()

Passing an `int` as the $revision was deprecated with a warning, but
also tighten up the phan @param type to hopefully catch a few more
cases of this in CI rather than the logs.

Bug: T350538
Bug: T358243
Change-Id: I73a3b77d9982bcfaa9c235cde31fafff9a13e92e
This commit is contained in:
C. Scott Ananian 2024-02-28 13:27:29 -05:00
parent 22709c6a2f
commit 44b54ae12f

View file

@ -37,7 +37,7 @@ class ContentRenderer {
*
* @param Content $content
* @param PageReference $page
* @param RevisionRecord|int|null $revision
* @param RevisionRecord|null $revision
* @param ParserOptions|null $parserOptions
* @param bool $generateHtml
*