mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-10 15:29:41 +00:00
Apply rector changes to Collection typing
This commit is contained in:
@@ -21,9 +21,9 @@ use Symfony\Component\Serializer\Annotation as Serializer;
|
||||
class Center implements HasCenterInterface, \Stringable
|
||||
{
|
||||
/**
|
||||
* @var Collection<GroupCenter>
|
||||
* @var Collection<int, GroupCenter>
|
||||
*/
|
||||
#[ORM\OneToMany(targetEntity: GroupCenter::class, mappedBy: 'center')]
|
||||
#[ORM\OneToMany(mappedBy: 'center', targetEntity: GroupCenter::class)]
|
||||
private Collection $groupCenters;
|
||||
|
||||
#[Serializer\Groups(['docgen:read'])]
|
||||
@@ -40,7 +40,7 @@ class Center implements HasCenterInterface, \Stringable
|
||||
private bool $isActive = true;
|
||||
|
||||
/**
|
||||
* @var Collection<Regroupment>
|
||||
* @var Collection<int, Regroupment>
|
||||
*/
|
||||
#[ORM\ManyToMany(targetEntity: Regroupment::class, mappedBy: 'centers')]
|
||||
private Collection $regroupments;
|
||||
|
Reference in New Issue
Block a user