File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -386,17 +386,17 @@ order:
386386
387387 The ``Workflow::DISABLE_ANNOUNCE_EVENT `` constant was introduced in Symfony 5.1.
388388
389- .. versionadded :: 5.2
389+ .. versionadded :: 5.2
390390
391- In Symfony 5.2, the context is customizable for all events except for
392- ``workflow.guard `` events, which will not receive the custom ``$context ``::
391+ In Symfony 5.2, the context is customizable for all events except for
392+ ``workflow.guard `` events, which will not receive the custom ``$context ``::
393393
394- // $context must be an array
395- $context = ['context_key' => 'context_value'];
396- $workflow->apply($subject, $transitionName, $context);
394+ // $context must be an array
395+ $context = ['context_key' => 'context_value'];
396+ $workflow->apply($subject, $transitionName, $context);
397397
398- // in an event listener
399- $context = $event->getContext(); // returns ['context']
398+ // in an event listener
399+ $context = $event->getContext(); // returns ['context']
400400
401401.. note ::
402402
You can’t perform that action at this time.
0 commit comments