<?php
+
namespace MediaWiki;
use ActorMigration;
use OldRevisionImporter;
use MediaWiki\Revision\RevisionStoreFactory;
use UploadRevisionImporter;
-use Wikimedia\Rdbms\LBFactory;
+use Wikimedia\Rdbms\ILoadBalancer;
use LinkCache;
-use Wikimedia\Rdbms\LoadBalancer;
use MediaHandlerFactory;
use MediaWiki\Config\ConfigRepository;
use MediaWiki\Linker\LinkRenderer;
use TitleFormatter;
use TitleParser;
use VirtualRESTServiceClient;
+use Wikimedia\Rdbms\LBFactory;
use Wikimedia\Services\SalvageableService;
use Wikimedia\Services\ServiceContainer;
use Wikimedia\Services\NoSuchServiceException;
}
}
+ /** @noinspection PhpDocSignatureInspection */
+
/**
* Salvages the state of any salvageable service instances in $other.
*
/**
* @since 1.28
- * @return LoadBalancer The main DB load balancer for the local wiki.
+ * @return ILoadBalancer The main DB load balancer for the local wiki.
*/
public function getDBLoadBalancer() {
return $this->getService( 'DBLoadBalancer' );