Apply rector changes to Collection typing

This commit is contained in:
2024-08-27 16:20:30 +02:00
parent 85e2466611
commit ad47804c91
31 changed files with 86 additions and 85 deletions

View File

@@ -23,9 +23,9 @@ class Option
private bool $active = true;
/**
* @var Collection<Option>
* @var Collection<int, Option>
*/
#[ORM\OneToMany(targetEntity: Option::class, mappedBy: 'parent')]
#[ORM\OneToMany(mappedBy: 'parent', targetEntity: Option::class)]
private Collection $children;
#[ORM\Id]