mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-23 21:53:40 +00:00
Use type-declaration on api module constructor
Parent class constructor gets type-declaration in 1145328459 Remove simple doc-blocks without further information Change-Id: I658a7bbdb5853e3d953e675db3cbd056cc020bfd
This commit is contained in:
parent
a6482646f1
commit
a69e185922
|
@ -24,6 +24,7 @@
|
|||
namespace MediaWiki\Extension\TitleBlacklist\Api;
|
||||
|
||||
use MediaWiki\Api\ApiBase;
|
||||
use MediaWiki\Api\ApiMain;
|
||||
use MediaWiki\Extension\TitleBlacklist\TitleBlacklist;
|
||||
use MediaWiki\Extension\TitleBlacklist\TitleBlacklistEntry;
|
||||
use MediaWiki\Title\Title;
|
||||
|
@ -37,7 +38,7 @@ use Wikimedia\ParamValidator\ParamValidator;
|
|||
*/
|
||||
class ApiTitleBlacklist extends ApiBase {
|
||||
|
||||
public function __construct( $mainModule, $moduleName ) {
|
||||
public function __construct( ApiMain $mainModule, string $moduleName ) {
|
||||
parent::__construct( $mainModule, $moduleName, 'tb' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue