From fef98c5ebe2e66ffd77e1efb0b7a1829c8248e2a Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 25 Oct 2024 19:14:20 +0200 Subject: [PATCH] Use type-declaration on api module constructor Parent class constructor gets type-declaration in 1145328459 Change-Id: I5ec4767b386317b777846edd88d800f80b3bb360 --- includes/ApiDiscussionToolsThank.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/ApiDiscussionToolsThank.php b/includes/ApiDiscussionToolsThank.php index 65fa09a78..ba2cb0062 100644 --- a/includes/ApiDiscussionToolsThank.php +++ b/includes/ApiDiscussionToolsThank.php @@ -33,12 +33,9 @@ class ApiDiscussionToolsThank extends ApiThank { private RevisionLookup $revisionLookup; private UserFactory $userFactory; - /** - * @inheritDoc - */ public function __construct( ApiMain $main, - $action, + string $action, PermissionManager $permissionManager, LogStore $storage, RevisionLookup $revisionLookup,