DX: fix an accompanying period might be null in an AccompanyingPeriodComment

This commit is contained in:
Julien Fastré 2022-10-13 16:50:21 +02:00
parent 75f6c8754e
commit 66f282e221

View File

@ -36,7 +36,7 @@ class Comment implements TrackCreationInterface, TrackUpdateInterface
* inversedBy="comments") * inversedBy="comments")
* @ORM\JoinColumn(nullable=false, onDelete="CASCADE") * @ORM\JoinColumn(nullable=false, onDelete="CASCADE")
*/ */
private ?AccompanyingPeriod $accompanyingPeriod; private ?AccompanyingPeriod $accompanyingPeriod = null;
/** /**
* @ORM\Column(type="text") * @ORM\Column(type="text")