Use type-declaration on api module constructor

Parent class constructor gets type-declaration in 1145328459

Change-Id: I5ec4767b386317b777846edd88d800f80b3bb360
This commit is contained in:
Umherirrender 2024-10-25 19:14:20 +02:00
parent e08ba7e8dc
commit fef98c5ebe

View file

@ -33,12 +33,9 @@ class ApiDiscussionToolsThank extends ApiThank {
private RevisionLookup $revisionLookup; private RevisionLookup $revisionLookup;
private UserFactory $userFactory; private UserFactory $userFactory;
/**
* @inheritDoc
*/
public function __construct( public function __construct(
ApiMain $main, ApiMain $main,
$action, string $action,
PermissionManager $permissionManager, PermissionManager $permissionManager,
LogStore $storage, LogStore $storage,
RevisionLookup $revisionLookup, RevisionLookup $revisionLookup,