Make workflow editing logic extensible

[PREMIUM-194]
This commit is contained in:
Jan Jakes
2022-08-31 12:43:08 +02:00
committed by Veljko V
parent a6d5b0d5c5
commit 82b547f40b
2 changed files with 2 additions and 2 deletions

View File

@ -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();