Fix mapping

This commit is contained in:
2022-01-20 16:50:10 +01:00
parent 265470f771
commit 966b9c19b7
4 changed files with 13 additions and 7 deletions

View File

@@ -43,13 +43,13 @@ class Language extends AbstractEntity
/*
* @var Collection&iterable<Dictionary>
* @ORM\OneToMany(targetEntity="\App\Model\Database\Entity\Dictionary", mappedBy="language")
* @ORM\OneToMany(targetEntity="Dictionary", mappedBy="language")
*/
protected Collection $dictionaries1;
/*
* @var Collection&iterable<Dictionary>
* @ORM\OneToMany(targetEntity="\App\Model\Database\Entity\Dictionary", mappedBy="language")
* @ORM\OneToMany(targetEntity="Dictionary", mappedBy="language")
*/
protected Collection $dictionaries2;