fix association's annotation between PersonCenterCurrent and Person entities

This commit is contained in:
2023-06-06 17:08:38 +02:00
parent 77f8cf0e1a
commit 88f48d474f
2 changed files with 7 additions and 1 deletions

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;