mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-23 15:56:55 +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: I124474e19ad4a0ceaad5104574bc9ed3102ce843
This commit is contained in:
parent
4b88b758d4
commit
9ab4776312
|
@ -20,14 +20,9 @@ class ApiScribuntoConsole extends ApiBase {
|
|||
private const SC_SESSION_EXPIRY = 3600;
|
||||
private ParserFactory $parserFactory;
|
||||
|
||||
/**
|
||||
* @param ApiMain $main
|
||||
* @param string $action
|
||||
* @param ParserFactory $parserFactory
|
||||
*/
|
||||
public function __construct(
|
||||
ApiMain $main,
|
||||
$action,
|
||||
string $action,
|
||||
ParserFactory $parserFactory
|
||||
) {
|
||||
parent::__construct( $main, $action );
|
||||
|
|
Loading…
Reference in a new issue