Skip to content

Commit 13d214c

Browse files
holtkampOskarStark
andauthored
Update workflow/workflow-and-state-machine.rst
Co-Authored-By: Oskar Stark <[email protected]>
1 parent 74c5379 commit 13d214c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

workflow/workflow-and-state-machine.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ Workflows and state machines that are defined in a configuration file will be va
314314
$states = ['created', 'activated', 'deleted'];
315315
$stateTransitions = [
316316
new Transition('activate', 'created', 'activated'),
317-
new Transition('activate', 'created', 'deleted'), //This duplicate event "from" the "created" state is invalid
317+
// This duplicate event "from" the "created" state is invalid
318+
new Transition('activate', 'created', 'deleted'),
318319
new Transition('delete', 'activated', 'deleted'),
319320
];
320321

0 commit comments

Comments
 (0)