Merge branch 'fix-association-person-current-center' into 'master'

Fix association's annotation between PersonCenterCurrent and Person entities

See merge request Chill-Projet/chill-bundles!558
This commit is contained in:
Julien Fastré 2023-06-13 13:58:22 +00:00
commit 21f0f70350
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
kind: Fixed
body: use the correct annotation for the association between PersonCurrentCenter and
Person
time: 2023-06-06T17:07:42.060486553+02:00
custom:
Issue: ""

View File

@ -45,7 +45,7 @@ class PersonCenterCurrent
private ?int $id = null;
/**
* @ORM\ManyToOne(targetEntity=Person::class, inversedBy="centerCurrent")
* @ORM\OneToOne(targetEntity=Person::class, inversedBy="centerCurrent")
*/
private Person $person;