From 9ab4776312b34ac2538cc3a2d578cb6158f2e431 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 25 Oct 2024 20:20:36 +0200 Subject: [PATCH] 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 --- includes/ApiScribuntoConsole.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/includes/ApiScribuntoConsole.php b/includes/ApiScribuntoConsole.php index 6a7ca60b..bfadc27e 100644 --- a/includes/ApiScribuntoConsole.php +++ b/includes/ApiScribuntoConsole.php @@ -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 );