Skip to content

Commit b4dcab5

Browse files
committed
Changed return type for the loadAction method
1 parent f2844e4 commit b4dcab5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Console.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
use Kiboko\Component\Action\Action;
88
use Kiboko\Component\Pipeline\Pipeline;
9+
use Kiboko\Component\Runtime\Action\ActionRuntimeInterface;
910
use Kiboko\Component\Runtime\Action\Console as ActionConsoleRuntime;
1011
use Kiboko\Component\Runtime\Pipeline\PipelineRuntimeInterface;
1112
use Kiboko\Component\State;
@@ -36,7 +37,7 @@ public function loadPipeline(string $filename): PipelineRuntimeInterface
3637
return new PipelineProxy($factory, $this->output, $pipeline, $this->state, basename($filename));
3738
}
3839

39-
public function loadAction(string $filename): ActionConsoleRuntime
40+
public function loadAction(string $filename): ActionRuntimeInterface
4041
{
4142
$factory = require $filename;
4243

0 commit comments

Comments
 (0)