mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-12-17 18:40:31 +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: I1b4dc8d9ca01bd9db2f7c461c12e9dff46d76214
This commit is contained in:
parent
afb31abd98
commit
f8bce0e016
|
@ -39,14 +39,9 @@ use Wikimedia\ParamValidator\ParamValidator;
|
||||||
class ApiQueryOATH extends ApiQueryBase {
|
class ApiQueryOATH extends ApiQueryBase {
|
||||||
private OATHUserRepository $oathUserRepository;
|
private OATHUserRepository $oathUserRepository;
|
||||||
|
|
||||||
/**
|
|
||||||
* @param ApiQuery $query
|
|
||||||
* @param string $moduleName
|
|
||||||
* @param OATHUserRepository $oathUserRepository
|
|
||||||
*/
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
$query,
|
ApiQuery $query,
|
||||||
$moduleName,
|
string $moduleName,
|
||||||
OATHUserRepository $oathUserRepository
|
OATHUserRepository $oathUserRepository
|
||||||
) {
|
) {
|
||||||
parent::__construct( $query, $moduleName, 'oath' );
|
parent::__construct( $query, $moduleName, 'oath' );
|
||||||
|
|
Loading…
Reference in a new issue