X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiBase.php;h=6fe49261dacc7712f0eb597221db8dae3a409a03;hp=9d6314de8be10df3d67d5cd17a5db81ff3e7e0d4;hb=579319d960107d1d61b6778b11e359e7046ce10d;hpb=9b00306abe57ff7b9f92728c664e60a29eb1791b diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 9d6314de8b..6fe49261da 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -692,7 +692,7 @@ abstract class ApiBase extends ContextSource { * Set the continuation manager * @param ApiContinuationManager|null $manager */ - public function setContinuationManager( $manager ) { + public function setContinuationManager( ApiContinuationManager $manager = null ) { // Main module has setContinuationManager() method overridden // Safety - avoid infinite loop: if ( $this->isMain() ) {