Make workflow editing logic extensible
[PREMIUM-194]
This commit is contained in:
@ -73,7 +73,7 @@ class UpdateWorkflowController {
|
||||
}
|
||||
}
|
||||
|
||||
private function validateWorkflowSteps(Workflow $workflow, array $steps): void {
|
||||
protected function validateWorkflowSteps(Workflow $workflow, array $steps): void {
|
||||
$existingSteps = $workflow->getSteps();
|
||||
if (count($steps) !== count($existingSteps)) {
|
||||
throw Exceptions::workflowStructureModificationNotSupported();
|
||||
|
Reference in New Issue
Block a user