Do not use associative array

[MAILPOET-5097]
This commit is contained in:
David Remer
2023-03-02 13:28:20 +02:00
committed by Jan Lysý
parent 212e01dd4c
commit c0e226b4bb

View File

@@ -58,7 +58,7 @@ class Automation {
}
$lastStep->setNextSteps([new NextStep($step->getId())]);
$steps[$step->getId()] = $step;
return $this->withSteps(...$steps);
return $this->withSteps(...array_values($steps));
}
public function withDelayAction() {