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:
Umherirrender 2024-10-25 20:16:38 +02:00
parent 5e446b522e
commit 198b3e7f68

View file

@ -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' );