Use type-declaration on api module constructor

Parent class constructor gets type-declaration in 1145328459

Change-Id: Ibdf741544d701e3a95cc5cb5ba2cb950273445e1
This commit is contained in:
Umherirrender 2024-10-25 20:28:30 +02:00
parent 2849f5d122
commit 2b6f256a81
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ class ApiCoreThank extends ApiThank {
public function __construct( public function __construct(
ApiMain $main, ApiMain $main,
$action, string $action,
PermissionManager $permissionManager, PermissionManager $permissionManager,
RevisionStore $revisionStore, RevisionStore $revisionStore,
UserFactory $userFactory, UserFactory $userFactory,

View file

@ -33,7 +33,7 @@ class ApiFlowThank extends ApiThank {
public function __construct( public function __construct(
ApiMain $main, ApiMain $main,
$action, string $action,
PermissionManager $permissionManager, PermissionManager $permissionManager,
LogStore $storage, LogStore $storage,
UserFactory $userFactory UserFactory $userFactory

View file

@ -22,7 +22,7 @@ abstract class ApiThank extends ApiBase {
public function __construct( public function __construct(
ApiMain $main, ApiMain $main,
$action, string $action,
PermissionManager $permissionManager, PermissionManager $permissionManager,
LogStore $storage LogStore $storage
) { ) {