Skip to content

Commit f0b5eab

Browse files
committed
minor #8662 [Workflow] minor tweaks (xabbuh)
This PR was merged into the 3.3 branch. Discussion ---------- [Workflow] minor tweaks Commits ------- 1ec993c [Workflow] minor tweaks
2 parents a1ec6aa + 1ec993c commit f0b5eab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

workflow/usage.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ what actions are allowed on a blog post::
172172
// ...
173173
}
174174

175-
// See all the available transition for the post in the current state
175+
// See all the available transitions for the post in the current state
176176
$transitions = $workflow->getEnabledTransitions($post);
177177

178178
Using Events
@@ -250,7 +250,8 @@ order:
250250
* ``workflow.[workflow name].announce``
251251
* ``workflow.[workflow name].announce.[transition name]``
252252

253-
Here is an example how to enable logging for every time a the "blog_publishing" workflow leaves a place::
253+
Here is an example of how to enable logging for every time a the "blog_publishing"
254+
workflow leaves a place::
254255

255256
use Psr\Log\LoggerInterface;
256257
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

0 commit comments

Comments
 (0)