diff options
author | Daimona Eaytoy <daimona.wiki@gmail.com> | 2019-09-26 15:38:38 +0200 |
---|---|---|
committer | Krinkle <krinklemail@gmail.com> | 2019-10-10 04:44:53 +0000 |
commit | 19cd15f7cdf2ad720a75f8643e4a72a3f61652be (patch) | |
tree | 8308072cb526fd2d8283afab906c75f547f7676e /includes/api/ApiQueryRevisionsBase.php | |
parent | 6ddac87f68f31be60218f56538d4c240176fdf34 (diff) | |
download | mediawikicore-19cd15f7cdf2ad720a75f8643e4a72a3f61652be.tar.gz mediawikicore-19cd15f7cdf2ad720a75f8643e4a72a3f61652be.zip |
Fix some phan warnings for too many params (part 1)
Bug: T231636
Change-Id: Ib0ca6bf2c426c21c4d42944c53a219e5940a5f11
Diffstat (limited to 'includes/api/ApiQueryRevisionsBase.php')
-rw-r--r-- | includes/api/ApiQueryRevisionsBase.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiQueryRevisionsBase.php b/includes/api/ApiQueryRevisionsBase.php index 90e54804e623..ea0f4678f42b 100644 --- a/includes/api/ApiQueryRevisionsBase.php +++ b/includes/api/ApiQueryRevisionsBase.php @@ -478,7 +478,7 @@ abstract class ApiQueryRevisionsBase extends ApiQueryGeneratorBase { // template-added sections don't count and Parser::preprocess() // will have less input if ( $content && $this->section !== false ) { - $content = $content->getSection( $this->section, false ); + $content = $content->getSection( $this->section ); if ( !$content ) { $vals['nosuchsection'] = true; } |