Skip to content

Commit 9ecd679

Browse files
committed
minor #17540 [Workflow] Some minor text optimizations (dragonito)
This PR was submitted for the 6.2 branch but it was squashed and merged into the 5.4 branch instead. Discussion ---------- [Workflow] Some minor text optimizations First some minor text optimizations. I found a passage of text that is a bit difficult to read: `You do also define *transitions* to that describes the action to get from one place to another.` Here is a slightly better version, but I don't really like it either: `You also define *transitions* to describe the action required to get from one place to another.` Commits ------- 5f625b4 [Workflow] Some minor text optimizations
2 parents a7f36ae + 5f625b4 commit 9ecd679

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

workflow.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Workflow
22
========
33

4-
Using the Workflow component inside a Symfony application requires to know first
4+
Using the Workflow component inside a Symfony application requires knowing first
55
some basic theory and concepts about workflows and state machines.
66
:doc:`Read this article </workflow/workflow-and-state-machine>` for a quick overview.
77

@@ -29,8 +29,8 @@ Creating a Workflow
2929
-------------------
3030

3131
A workflow is a process or a lifecycle that your objects go through. Each
32-
step or stage in the process is called a *place*. You do also define *transitions*
33-
to that describes the action to get from one place to another.
32+
step or stage in the process is called a *place*. You also define *transitions*,
33+
which describe the action needed to get from one place to another.
3434

3535
.. image:: /_images/components/workflow/states_transitions.png
3636

@@ -39,8 +39,8 @@ a ``Definition`` and a way to write the states to the objects (i.e. an
3939
instance of a :class:`Symfony\\Component\\Workflow\\MarkingStore\\MarkingStoreInterface`.)
4040

4141
Consider the following example for a blog post. A post can have these places:
42-
``draft``, ``reviewed``, ``rejected``, ``published``. You can define the workflow
43-
like this:
42+
``draft``, ``reviewed``, ``rejected``, ``published``. You could define the workflow as
43+
follows:
4444

4545
.. configuration-block::
4646

0 commit comments

Comments
 (0)