Skip to content

Commit 63a7df4

Browse files
authored
fix(type): fix on both class and Doctrine type
1 parent 41f5ea3 commit 63a7df4

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
@@ -158,10 +158,10 @@ like this:
158158

159159
.. note::
160160

161-
If a ``multiple_state`` is used, the persisted state type should be an ``array``,
162-
using Doctrine, you can use ``json`` or ``json_array``.
161+
If a ``multiple_state`` is used, the attribute should be an ``array``,
162+
using Doctrine, you can use ``json``.
163163

164-
If a ``single_state`` is used, the persisted state type could be a string,
164+
If a ``single_state`` is used, the persisted state type should be a string,
165165
if you need to store an int (due to DB limitations and/or project constraints),
166166
be aware that you need to implement :class:`Symfony\\Component\\Workflow\\MarkingStore\\MarkingStoreInterface`
167167
in order to transform the int back to something understandable by Workflow.

0 commit comments

Comments
 (0)