mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
DX: type-hing oneToMany and ManyToMany properties as collection
This commit is contained in:
@@ -30,13 +30,13 @@ class RoleScope
|
||||
private ?int $id = null;
|
||||
|
||||
/**
|
||||
* @var Collection
|
||||
* @var Collection<PermissionsGroup>
|
||||
*
|
||||
* @ORM\ManyToMany(
|
||||
* targetEntity="Chill\MainBundle\Entity\PermissionsGroup",
|
||||
* mappedBy="roleScopes")
|
||||
*/
|
||||
private $permissionsGroups;
|
||||
private Collection $permissionsGroups;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", length=255)
|
||||
|
Reference in New Issue
Block a user