Skip to content

Commit 44bfeed

Browse files
NGSTACK-789 change typehint
1 parent ff9c981 commit 44bfeed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Action/Action.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class Action implements ActionInterface
1818
{
1919
protected const ERROR_MESSAGE = "I'm sorry, Dave. I'm afraid I can't do that. Please check your commit for errors";
2020

21-
public function execute(Config $config, IO $io, Repository $repository, Config\Action $action): void
21+
public function execute(Config $config, IO $io, Repository $repository, ActionConfig $action): void
2222
{
2323
if (!$this->isEnabled($action)) {
2424
return;
@@ -27,7 +27,7 @@ public function execute(Config $config, IO $io, Repository $repository, Config\A
2727
$this->doExecute($config, $io, $repository, $action);
2828
}
2929

30-
abstract protected function doExecute(Config $config, IO $io, Repository $repository, Config\Action $action): void;
30+
abstract protected function doExecute(Config $config, IO $io, Repository $repository, ActionConfig $action): void;
3131

3232
protected function throwError(ActionConfig $config, IO $io): void
3333
{

0 commit comments

Comments
 (0)