Skip to content

Commit e88c354

Browse files
author
Marcel Diegelmann
committed
PartCustomState: Mapping für Parameter korrigieren
1 parent b8bc2b9 commit e88c354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entity/Parts/PartCustomState.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class PartCustomState extends AbstractPartsContainingDBElement
107107
/** @var Collection<int, PartCustomStateAttachment>
108108
*/
109109
#[Assert\Valid]
110-
#[ORM\OneToMany(mappedBy: 'element', targetEntity: PartCustomStateAttachment::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
110+
#[ORM\OneToMany(mappedBy: 'element', targetEntity: PartCustomStateParameter::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
111111
#[ORM\OrderBy(['name' => 'ASC'])]
112112
#[Groups(['part_custom_state:read', 'part_custom_state:write'])]
113113
protected Collection $parameters;

0 commit comments

Comments
 (0)