mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-23 14:36:47 +00:00
Use type-declaration on api module constructor
Parent class constructor gets type-declaration in 1145328459 Change-Id: Ibdf741544d701e3a95cc5cb5ba2cb950273445e1
This commit is contained in:
parent
2849f5d122
commit
2b6f256a81
|
@ -33,7 +33,7 @@ class ApiCoreThank extends ApiThank {
|
|||
|
||||
public function __construct(
|
||||
ApiMain $main,
|
||||
$action,
|
||||
string $action,
|
||||
PermissionManager $permissionManager,
|
||||
RevisionStore $revisionStore,
|
||||
UserFactory $userFactory,
|
||||
|
|
|
@ -33,7 +33,7 @@ class ApiFlowThank extends ApiThank {
|
|||
|
||||
public function __construct(
|
||||
ApiMain $main,
|
||||
$action,
|
||||
string $action,
|
||||
PermissionManager $permissionManager,
|
||||
LogStore $storage,
|
||||
UserFactory $userFactory
|
||||
|
|
|
@ -22,7 +22,7 @@ abstract class ApiThank extends ApiBase {
|
|||
|
||||
public function __construct(
|
||||
ApiMain $main,
|
||||
$action,
|
||||
string $action,
|
||||
PermissionManager $permissionManager,
|
||||
LogStore $storage
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue