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
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -305,11 +305,10 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
/** /**
* The person's center * The person's center
* @var Center
* *
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\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) * The person's accompanying periods (when the person was accompanied by the center)