From 2b6f256a81dd02c6a8faae14c983c6e5a75b1b50 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 25 Oct 2024 20:28:30 +0200 Subject: [PATCH] Use type-declaration on api module constructor Parent class constructor gets type-declaration in 1145328459 Change-Id: Ibdf741544d701e3a95cc5cb5ba2cb950273445e1 --- includes/Api/ApiCoreThank.php | 2 +- includes/Api/ApiFlowThank.php | 2 +- includes/Api/ApiThank.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Api/ApiCoreThank.php b/includes/Api/ApiCoreThank.php index 40384037..adf5adfa 100644 --- a/includes/Api/ApiCoreThank.php +++ b/includes/Api/ApiCoreThank.php @@ -33,7 +33,7 @@ class ApiCoreThank extends ApiThank { public function __construct( ApiMain $main, - $action, + string $action, PermissionManager $permissionManager, RevisionStore $revisionStore, UserFactory $userFactory, diff --git a/includes/Api/ApiFlowThank.php b/includes/Api/ApiFlowThank.php index 5b3b0b01..eba7fe65 100644 --- a/includes/Api/ApiFlowThank.php +++ b/includes/Api/ApiFlowThank.php @@ -33,7 +33,7 @@ class ApiFlowThank extends ApiThank { public function __construct( ApiMain $main, - $action, + string $action, PermissionManager $permissionManager, LogStore $storage, UserFactory $userFactory diff --git a/includes/Api/ApiThank.php b/includes/Api/ApiThank.php index 9c9f22e0..cd509e26 100644 --- a/includes/Api/ApiThank.php +++ b/includes/Api/ApiThank.php @@ -22,7 +22,7 @@ abstract class ApiThank extends ApiBase { public function __construct( ApiMain $main, - $action, + string $action, PermissionManager $permissionManager, LogStore $storage ) {