Skip to content

Commit 0a5bbc2

Browse files
committed
Fix psalm issues
1 parent f205a21 commit 0a5bbc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Internal/Workflow/Process/Process.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function start(MethodHandler|\Closure $handler, ValuesInterface $values,
184184

185185
// Prepare typed input
186186
\assert($handler instanceof MethodHandler);
187-
$arguments = $handler->resolveArguments($values ?? EncodedValues::empty());
187+
$arguments = $handler->resolveArguments($values);
188188

189189
// Manage init method
190190
$this->context->getWorkflowInstance()->init($arguments);

src/Internal/Workflow/Process/Scope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function getContext(): WorkflowContext
130130
public function start(MethodHandler|\Closure $handler, ValuesInterface $values, bool $deferred): void
131131
{
132132
// Create a coroutine generator
133-
$this->coroutine = DeferredGenerator::fromHandler($handler, $values ?? EncodedValues::empty())
133+
$this->coroutine = DeferredGenerator::fromHandler($handler, $values)
134134
->catch($this->onException(...));
135135

136136
$deferred

0 commit comments

Comments
 (0)