From 1a204312f39fd9079cfac62dc4b81777dab27033 Mon Sep 17 00:00:00 2001 From: nobohan Date: Fri, 18 Jun 2021 13:12:27 +0200 Subject: [PATCH] person: re-enable the creation of a person --- src/Bundle/ChillPersonBundle/Entity/Person.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Entity/Person.php b/src/Bundle/ChillPersonBundle/Entity/Person.php index 1eaffa526..6cf4b30b5 100644 --- a/src/Bundle/ChillPersonBundle/Entity/Person.php +++ b/src/Bundle/ChillPersonBundle/Entity/Person.php @@ -105,7 +105,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI /** * The person's deathdate - * @var \DateTime + * @var \DateTimeImmutable * * @ORM\Column(type="date_immutable", nullable=true) */ @@ -281,7 +281,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI * * @ORM\Column(type="boolean", options={"default" : false}) */ - private ?bool $acceptSMS = null; + private ?bool $acceptSMS = false; /** * Accept receiving email @@ -289,7 +289,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI * * @ORM\Column(type="boolean", options={"default" : false}) */ - private ?bool $acceptEmail = null; + private ?bool $acceptEmail = false; /** * Number of children