[Workflow] Fixed initial places when no places are configured

I introduced a BC break in #30468 and this PR fix it.
With the full stack framework, when one does not configure the
initial_place(s) the DIC set `[]` for the initial values.
So it removes the initials values guessed in `Definition::addPlace()`
This commit is contained in:
Grégoire Pineau 2019-04-06 12:03:51 +02:00
parent 9793522f6e
commit 76fd9c35b7

View File

@ -94,7 +94,7 @@ final class Definition
private function setInitialPlaces($places = null)
{
if (null === $places) {
if (!$places) {
return;
}