mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 09:34:59 +00:00
Apply rector changes to Collection typing
This commit is contained in:
@@ -28,9 +28,9 @@ class PermissionsGroup
|
||||
private array $flags = [];
|
||||
|
||||
/**
|
||||
* @var Collection<GroupCenter>
|
||||
* @var Collection<int, GroupCenter>
|
||||
*/
|
||||
#[ORM\OneToMany(targetEntity: GroupCenter::class, mappedBy: 'permissionsGroup')]
|
||||
#[ORM\OneToMany(mappedBy: 'permissionsGroup', targetEntity: GroupCenter::class)]
|
||||
private Collection $groupCenters;
|
||||
|
||||
#[ORM\Id]
|
||||
@@ -42,7 +42,7 @@ class PermissionsGroup
|
||||
private string $name = '';
|
||||
|
||||
/**
|
||||
* @var Collection<RoleScope>
|
||||
* @var Collection<int, RoleScope>
|
||||
*/
|
||||
#[ORM\ManyToMany(targetEntity: RoleScope::class, inversedBy: 'permissionsGroups', cascade: ['persist'])]
|
||||
#[ORM\Cache(usage: 'NONSTRICT_READ_WRITE')]
|
||||
|
Reference in New Issue
Block a user