fix association's annotation between PersonCenterCurrent and Person entities

This commit is contained in:
Julien Fastré 2023-06-06 17:08:38 +02:00
parent 77f8cf0e1a
commit 88f48d474f
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
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; private ?int $id = null;
/** /**
* @ORM\ManyToOne(targetEntity=Person::class, inversedBy="centerCurrent") * @ORM\OneToOne(targetEntity=Person::class, inversedBy="centerCurrent")
*/ */
private Person $person; private Person $person;