Skip to content

Commit 85ed54b

Browse files
lamasfokerjaviereguiluz
authored andcommitted
[Workflow] Improve Workflow Documentation
1 parent e7ec633 commit 85ed54b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

workflow.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ The configured property will be used via its implemented getter/setter methods b
194194
preferable to not configure it.
195195

196196
A single state marking store uses a ``string`` to store the data. A multiple
197-
state marking store uses an ``array`` to store the data.
197+
state marking store uses an ``array`` to store the data. On both cases if no
198+
state marking store is defined you have to return ``null``. So in the above
199+
example should be defined a return type like ``App\Entity\BlogPost::getCurrentPlace(): ?array``
200+
or like ``App\Entity\BlogPost::getCurrentPlace(): ?string``.
198201

199202
.. tip::
200203

0 commit comments

Comments
 (0)