Add missing use statement

Removed another unused one, and cleaned up the doc block.

Bug: T121283
Change-Id: I1a8b9920152e6d52ffb59de385fcc29c92f33c92
This commit is contained in:
Kunal Mehta 2015-12-11 15:11:43 -08:00
parent 80703452ed
commit 0664ddbf94

View file

@ -19,10 +19,10 @@
namespace TextExtracts;
use ApiBase;
use ApiResult;
use ApiMain;
use ApiQueryBase;
use Config;
use ConfigFactory;
use FauxRequest;
use MWTidy;
use ParserCache;
@ -241,13 +241,13 @@ class ApiQueryExtracts extends ApiQueryBase {
}
/**
* @param ApiQuery $query
* @param \ApiQuery $query
* @param string $action
* @return TextExtracts\ApiQueryExtracts
* @return ApiQueryExtracts
*/
public static function factory( $query, $action ) {
$config = ConfigFactory::getDefaultInstance()->makeConfig( 'textextracts' );
return new TextExtracts\ApiQueryExtracts( $query, $action, $config );
return new self( $query, $action, $config );
}
/**