Skip to content

Commit 1e738f2

Browse files
authored
Merge pull request #155 from php-etl/fix/workflow-runtime
Fix/workflow runtime
2 parents ea70913 + 632a318 commit 1e738f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Runtime/Workflow/Runtime.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function build(Builder $builder): array
5050
'params' => [
5151
new Node\Param(
5252
var: new Node\Expr\Variable('runtime'),
53-
type: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Workflow\\Console'),
53+
type: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Workflow\\WorkflowRuntimeInterface'),
5454
),
5555
],
5656
'stmts' => [

src/Service.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ private function compileWorkflow(array $config): Satellite\Builder\Repository\Wo
257257
/** @var WorkflowRuntimeInterface $runtime */
258258
$runtime = require __DIR__ . '/runtime.php';
259259
260-
/** @var callable(runtime: WorkflowConsoleRuntime): WorkflowConsoleRuntime $workflow */
260+
/** @var callable(runtime: WorkflowRuntimeInterface): WorkflowRuntimeInterface $workflow */
261261
$workflow = require __DIR__ . '/workflow.php';
262262
263263
chdir(__DIR__);

0 commit comments

Comments
 (0)