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:
parent
22709c6a2f
commit
44b54ae12f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue