fix: Enforce (and document) the type of property.

This commit is contained in:
Pol Dellaiera
2021-11-17 20:23:37 +01:00
parent 1a04973072
commit d830b19756

View File

@@ -305,11 +305,10 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
/**
* The person's center
* @var Center
*
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\Center")
*/
private $center;
private ?Center $center = null;
/**
* The person's accompanying periods (when the person was accompanied by the center)