Use "automation" instead of "workflow"

[MAILPOET-4793]
This commit is contained in:
Jan Jakes
2022-11-10 10:24:31 +03:00
committed by David Remer
parent d199c3768a
commit 9d55d3f134
210 changed files with 3677 additions and 3659 deletions

View File

@ -7,8 +7,8 @@ use MailPoet\Automation\Engine\Integration\Payload;
use MailPoet\Automation\Engine\Integration\Subject;
class StepValidationArgs {
/** @var Workflow */
private $workflow;
/** @var Automation */
private $automation;
/** @var Step */
private $step;
@ -21,11 +21,11 @@ class StepValidationArgs {
/** @param Subject<Payload>[] $subjects */
public function __construct(
Workflow $workflow,
Automation $automation,
Step $step,
array $subjects
) {
$this->workflow = $workflow;
$this->automation = $automation;
$this->step = $step;
foreach ($subjects as $subject) {
@ -35,8 +35,8 @@ class StepValidationArgs {
}
}
public function getWorkflow(): Workflow {
return $this->workflow;
public function getAutomation(): Automation {
return $this->automation;
}
public function getStep(): Step {