Skip to content

Commit 1d461b7

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Tweak [Workflow] Improve Workflow Documentation
2 parents 6a61f5b + d9d0686 commit 1d461b7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

workflow.rst

Lines changed: 4 additions & 1 deletion
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. If no state marking
198+
store is defined you have to return ``null`` in both cases (e.g. the above
199+
example should define 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)