mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Apply 7 suggestion(s) to 1 file(s)
This commit is contained in:
parent
8406c30c8e
commit
585a19e803
@ -105,9 +105,9 @@ class Person implements HasCenterInterface
|
||||
* The person's deathdate
|
||||
* @var \DateTime
|
||||
*
|
||||
* @ORM\Column(type="date", nullable=true)
|
||||
* @ORM\Column(type="date_immutable", nullable=true)
|
||||
*/
|
||||
private $deathdate;
|
||||
private ?\DateTimeImmutable $deathdate;
|
||||
|
||||
/**
|
||||
* The person's place of birth
|
||||
@ -159,7 +159,7 @@ class Person implements HasCenterInterface
|
||||
* @var CommentEmbeddable
|
||||
* @ORM\Embedded(class="Chill\MainBundle\Entity\Embeddable\CommentEmbeddable", columnPrefix="genderComment_")
|
||||
*/
|
||||
private $genderComment;
|
||||
private CommentEmbeddable $genderComment;
|
||||
|
||||
/**
|
||||
* The marital status of the person
|
||||
@ -183,7 +183,7 @@ class Person implements HasCenterInterface
|
||||
* @var CommentEmbeddable
|
||||
* @ORM\Embedded(class="Chill\MainBundle\Entity\Embeddable\CommentEmbeddable", columnPrefix="maritalStatusComment_")
|
||||
*/
|
||||
private $maritalStatusComment;
|
||||
private CommentEmbeddable $maritalStatusComment;
|
||||
|
||||
/**
|
||||
* Contact information for contacting the person
|
||||
@ -279,7 +279,7 @@ class Person implements HasCenterInterface
|
||||
*
|
||||
* @ORM\Column(type="boolean", options={"default" : false})
|
||||
*/
|
||||
private $acceptSMS;
|
||||
private ?bool $acceptSMS = null;
|
||||
|
||||
/**
|
||||
* Accept receiving email
|
||||
@ -287,7 +287,7 @@ class Person implements HasCenterInterface
|
||||
*
|
||||
* @ORM\Column(type="boolean", options={"default" : false})
|
||||
*/
|
||||
private $acceptEmail;
|
||||
private ?bool $acceptEmail = null;
|
||||
|
||||
/**
|
||||
* Number of children
|
||||
@ -295,7 +295,7 @@ class Person implements HasCenterInterface
|
||||
*
|
||||
* @ORM\Column(type="integer", nullable=true)
|
||||
*/
|
||||
private $numberOfChildren;
|
||||
private ?int $numberOfChildren = null;
|
||||
|
||||
/**
|
||||
* @var boolean
|
||||
|
Loading…
x
Reference in New Issue
Block a user