From 87e1f8f077c3ba236b217f0a1ea0058d406c6261 Mon Sep 17 00:00:00 2001 From: nobohan Date: Fri, 28 Jan 2022 09:47:36 +0100 Subject: [PATCH] hot fix: initialize typed comment in CommentEmbeddable --- .../ChillMainBundle/Entity/Embeddable/CommentEmbeddable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Entity/Embeddable/CommentEmbeddable.php b/src/Bundle/ChillMainBundle/Entity/Embeddable/CommentEmbeddable.php index 3d5176860..61ebce10b 100644 --- a/src/Bundle/ChillMainBundle/Entity/Embeddable/CommentEmbeddable.php +++ b/src/Bundle/ChillMainBundle/Entity/Embeddable/CommentEmbeddable.php @@ -22,7 +22,7 @@ class CommentEmbeddable /** * @ORM\Column(type="text", nullable=true) */ - private ?string $comment; + private ?string $comment = null; /** * @var DateTime