mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
Apply rector changes to Collection typing
This commit is contained in:
@@ -43,9 +43,9 @@ class RecurringTask extends AbstractTask
|
||||
private $occurenceWarningInterval;
|
||||
|
||||
/**
|
||||
* @var Collection<SingleTask>
|
||||
* @var Collection<int, SingleTask>
|
||||
*/
|
||||
#[ORM\OneToMany(targetEntity: SingleTask::class, mappedBy: 'recurringTask')]
|
||||
#[ORM\OneToMany(mappedBy: 'recurringTask', targetEntity: SingleTask::class)]
|
||||
private Collection $singleTasks;
|
||||
|
||||
public function __construct()
|
||||
|
@@ -49,9 +49,9 @@ class SingleTask extends AbstractTask
|
||||
private ?\DateTime $startDate = null;
|
||||
|
||||
/**
|
||||
* @var Collection<SingleTaskPlaceEvent>
|
||||
* @var Collection<int, SingleTaskPlaceEvent>
|
||||
*/
|
||||
#[ORM\OneToMany(targetEntity: SingleTaskPlaceEvent::class, mappedBy: 'task', cascade: ['remove'])]
|
||||
#[ORM\OneToMany(mappedBy: 'task', targetEntity: SingleTaskPlaceEvent::class, cascade: ['remove'])]
|
||||
private Collection $taskPlaceEvents;
|
||||
|
||||
#[Serializer\Groups(['read'])]
|
||||
|
Reference in New Issue
Block a user