Skip to content

Commit

Permalink
Merge pull request #155 from php-etl/fix/workflow-runtime
Browse files Browse the repository at this point in the history
Fix/workflow runtime
  • Loading branch information
gplanchat authored Feb 15, 2024
2 parents ea70913 + 632a318 commit 1e738f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Runtime/Workflow/Runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function build(Builder $builder): array
'params' => [
new Node\Param(
var: new Node\Expr\Variable('runtime'),
type: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Workflow\\Console'),
type: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Workflow\\WorkflowRuntimeInterface'),
),
],
'stmts' => [
Expand Down
2 changes: 1 addition & 1 deletion src/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private function compileWorkflow(array $config): Satellite\Builder\Repository\Wo
/** @var WorkflowRuntimeInterface $runtime */
$runtime = require __DIR__ . '/runtime.php';
/** @var callable(runtime: WorkflowConsoleRuntime): WorkflowConsoleRuntime $workflow */
/** @var callable(runtime: WorkflowRuntimeInterface): WorkflowRuntimeInterface $workflow */
$workflow = require __DIR__ . '/workflow.php';
chdir(__DIR__);
Expand Down

0 comments on commit 1e738f2

Please sign in to comment.