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

@@ -62,9 +62,9 @@ class Event implements HasCenterInterface, HasScopeInterface, TrackCreationInter
private ?string $name = null;
/**
* @var Collection<Participation>
* @var Collection<int, Participation>
*/
#[ORM\OneToMany(targetEntity: Participation::class, mappedBy: 'event')]
#[ORM\OneToMany(mappedBy: 'event', targetEntity: Participation::class)]
private Collection $participations;
#[Assert\NotNull]
@@ -79,7 +79,7 @@ class Event implements HasCenterInterface, HasScopeInterface, TrackCreationInter
private ?Location $location = null;
/**
* @var Collection<StoredObject>
* @var Collection<int, StoredObject>
*/
#[ORM\ManyToMany(targetEntity: StoredObject::class, cascade: ['persist', 'refresh'])]
#[ORM\JoinTable('chill_event_event_documents')]