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