person: re-enable the creation of a person

This commit is contained in:
nobohan 2021-06-18 13:12:27 +02:00
parent 3d14f00cac
commit 1a204312f3

View File

@ -105,7 +105,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
/** /**
* The person's deathdate * The person's deathdate
* @var \DateTime * @var \DateTimeImmutable
* *
* @ORM\Column(type="date_immutable", nullable=true) * @ORM\Column(type="date_immutable", nullable=true)
*/ */
@ -281,7 +281,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
* *
* @ORM\Column(type="boolean", options={"default" : false}) * @ORM\Column(type="boolean", options={"default" : false})
*/ */
private ?bool $acceptSMS = null; private ?bool $acceptSMS = false;
/** /**
* Accept receiving email * Accept receiving email
@ -289,7 +289,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
* *
* @ORM\Column(type="boolean", options={"default" : false}) * @ORM\Column(type="boolean", options={"default" : false})
*/ */
private ?bool $acceptEmail = null; private ?bool $acceptEmail = false;
/** /**
* Number of children * Number of children