Skip to content

Commit 29ab645

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Tweak Update workflow docs for $context in GuardEvent
2 parents 4064837 + 0b30145 commit 29ab645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ order:
388388
$context = ['context_key' => 'context_value'];
389389
$workflow->apply($subject, $transitionName, $context);
390390

391-
// in an event listener
391+
// in an event listener (workflow.guard events)
392392
$context = $event->getContext(); // returns ['context']
393393

394394
.. note::

0 commit comments

Comments
 (0)