mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
DX: type-hing oneToMany and ManyToMany properties as collection
This commit is contained in:
@@ -35,14 +35,13 @@ class CustomFieldsGroup
|
||||
* The custom fields of the group.
|
||||
* The custom fields are asc-ordered regarding to their property "ordering".
|
||||
*
|
||||
* @var Collection
|
||||
*
|
||||
* @var Collection<CustomField>
|
||||
* @ORM\OneToMany(
|
||||
* targetEntity="Chill\CustomFieldsBundle\Entity\CustomField",
|
||||
* mappedBy="customFieldGroup")
|
||||
* @ORM\OrderBy({"ordering": "ASC"})
|
||||
*/
|
||||
private $customFields;
|
||||
private Collection $customFields;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
|
Reference in New Issue
Block a user