mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-27 09:42:39 +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: Id2264c743077188e2b4f6a66b5d32d67716ed182
This commit is contained in:
parent
5e446b522e
commit
198b3e7f68
|
@ -23,17 +23,11 @@ use Wikimedia\ParamValidator\TypeDef\IntegerDef;
|
|||
* @author Sam Smith
|
||||
*/
|
||||
class ApiQueryPageImages extends ApiQueryBase {
|
||||
/** @var RepoGroup */
|
||||
private $repoGroup;
|
||||
private RepoGroup $repoGroup;
|
||||
|
||||
/**
|
||||
* @param ApiQuery $query API query module
|
||||
* @param string $moduleName Name of this query module
|
||||
* @param RepoGroup $repoGroup
|
||||
*/
|
||||
public function __construct(
|
||||
ApiQuery $query,
|
||||
$moduleName,
|
||||
string $moduleName,
|
||||
RepoGroup $repoGroup
|
||||
) {
|
||||
parent::__construct( $query, $moduleName, 'pi' );
|
||||
|
|
Loading…
Reference in a new issue