mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix: Enforce (and document) the type of property.
This commit is contained in:
parent
1a04973072
commit
d830b19756
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user