Skip to content

Commit 56fd23d

Browse files
committed
fix(type): fix on both class and Doctrine type
1 parent 67767f3 commit 56fd23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ As configured, the following property is used by the marking store::
169169
If a ``multiple_state`` is used, the persisted state type should be an ``array``,
170170
using Doctrine, you can use ``json`` or ``json_array``.
171171

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

0 commit comments

Comments
 (0)