mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
DX: type-hing oneToMany and ManyToMany properties as collection
This commit is contained in:
@@ -28,12 +28,12 @@ class Option
|
||||
private $active = true;
|
||||
|
||||
/**
|
||||
* @var Collection
|
||||
* @var Collection<Option>
|
||||
* @ORM\OneToMany(
|
||||
* targetEntity="Chill\CustomFieldsBundle\Entity\CustomFieldLongChoice\Option",
|
||||
* mappedBy="parent")
|
||||
*/
|
||||
private $children;
|
||||
private Collection $children;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
|
Reference in New Issue
Block a user