update config for tasks workflow to symfony 4.4+

This commit is contained in:
2023-10-02 15:02:52 +02:00
parent 2d7bc06539
commit 6a37079ee5
2 changed files with 3 additions and 5 deletions

View File

@@ -62,12 +62,10 @@ abstract class AbstractTask implements HasCenterInterface, HasScopeInterface
private ?\Chill\PersonBundle\Entity\AccompanyingPeriod $course = null;
/**
* @var json
*
* @ORM\Column(name="current_states", type="json")
* @ORM\Column(name="current_states", type="json", options={"jsonb"=true, "default"="[]"})
* @Serializer\Groups({"read"})
*/
private $currentStates = [];
private array $currentStates = [];
/**
*