mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-27 17:50:15 +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 {
|
||||
private OATHUserRepository $oathUserRepository;
|
||||
|
||||
/**
|
||||
* @param ApiQuery $query
|
||||
* @param string $moduleName
|
||||
* @param OATHUserRepository $oathUserRepository
|
||||
*/
|
||||
public function __construct(
|
||||
$query,
|
||||
$moduleName,
|
||||
ApiQuery $query,
|
||||
string $moduleName,
|
||||
OATHUserRepository $oathUserRepository
|
||||
) {
|
||||
parent::__construct( $query, $moduleName, 'oath' );
|
||||
|
|
Loading…
Reference in a new issue