From 85ed54be80eafff80156154e9ecf4e8990d3497c Mon Sep 17 00:00:00 2001 From: Giacomo Moscardini Date: Tue, 24 Jan 2023 12:23:50 +0100 Subject: [PATCH] [Workflow] Improve Workflow Documentation --- workflow.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/workflow.rst b/workflow.rst index 389231ba91a..05c4a7dd385 100644 --- a/workflow.rst +++ b/workflow.rst @@ -194,7 +194,10 @@ The configured property will be used via its implemented getter/setter methods b preferable to not configure it. A single state marking store uses a ``string`` to store the data. A multiple - state marking store uses an ``array`` to store the data. + state marking store uses an ``array`` to store the data. On both cases if no + state marking store is defined you have to return ``null``. So in the above + example should be defined a return type like ``App\Entity\BlogPost::getCurrentPlace(): ?array`` + or like ``App\Entity\BlogPost::getCurrentPlace(): ?string``. .. tip:: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy