Skip to content

Commit 0ffaf8e

Browse files
committed
minor #7354 [Workflow] Fixed wording (mvar)
This PR was merged into the 3.2 branch. Discussion ---------- [Workflow] Fixed wording Fixed wording and updated namespace of `BlogPost` to keep consistency. Commits ------- 919ca1f Fixed wording
2 parents 2ad5fb9 + 919ca1f commit 0ffaf8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workflow/usage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ like this:
156156
will be used.
157157

158158
With this workflow named ``blog_publishing``, you can get help to decide
159-
what actions that are allowed on a blog post. ::
159+
what actions are allowed on a blog post. ::
160160

161161
$post = new \AppBundle\Entity\BlogPost();
162162

@@ -195,7 +195,7 @@ See example to make sure no blog post without title is moved to "review"::
195195
{
196196
public function guardReview(GuardEvent $event)
197197
{
198-
/** @var Acme\BlogPost $post */
198+
/** @var \AppBundle\Entity\BlogPost $post */
199199
$post = $event->getSubject();
200200
$title = $post->title;
201201

@@ -242,7 +242,7 @@ The links below will only be displayed when the action is allowed:
242242
<a href="...">Reject article</a>
243243
{% endif %}
244244
245-
{# Or loop through the enabled transistions #}
245+
{# Or loop through the enabled transitions #}
246246
{% for transition in workflow_transitions(post) %}
247247
<a href="...">{{ transition.name }}</a>
248248
{% else %}

0 commit comments

Comments
 (0)