mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-23 22:44:42 +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(
|
public function __construct(
|
||||||
ApiMain $main,
|
ApiMain $main,
|
||||||
$action,
|
string $action,
|
||||||
PermissionManager $permissionManager,
|
PermissionManager $permissionManager,
|
||||||
RevisionStore $revisionStore,
|
RevisionStore $revisionStore,
|
||||||
UserFactory $userFactory,
|
UserFactory $userFactory,
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue