Merge "Allow int on ApiQueryGeneratorBase::setContinueEnumParameter"
This commit is contained in:
commit
ee65a15c3b
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue