Allow int on ApiQueryGeneratorBase::setContinueEnumParameter

The parent setContinueEnumParameter already does

Change-Id: If6ed51bc284e124d903d175cd0f7c7f680a11a07
This commit is contained in:
Umherirrender 2021-09-26 13:51:49 +02:00
parent 3ff9183d24
commit de20173228
2 changed files with 2 additions and 2 deletions

View file

@ -171,7 +171,7 @@ class ApiContinuationManager {
* Set the continuation parameter for the generator module
* @param ApiBase $module
* @param string $paramName
* @param string|array $paramValue
* @param int|string|array $paramValue
*/
public function addGeneratorContinueParam( ApiBase $module, $paramName, $paramValue ) {
$name = $module->getModuleName();

View file

@ -78,7 +78,7 @@ abstract class ApiQueryGeneratorBase extends ApiQueryBase {
/**
* Overridden to set the generator param if in generator mode
* @param string $paramName Parameter name
* @param string|array $paramValue Parameter value
* @param int|string|array $paramValue Parameter value
*/
protected function setContinueEnumParameter( $paramName, $paramValue ) {
if ( $this->mGeneratorPageSet !== null ) {