Skip to content

Commit fa421ff

Browse files
authored
Use CustomerOptionInterface in CustomerOptionTranslation to allow entity overwriting (#153)
1 parent e9463a7 commit fa421ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entity/CustomerOptions/CustomerOptionTranslation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CustomerOptionTranslation extends AbstractTranslation implements CustomerO
2828
#[ORM\Column(type: 'string', nullable: true)]
2929
protected ?string $name = null;
3030

31-
#[ORM\ManyToOne(targetEntity: CustomerOption::class, inversedBy: 'translations')]
31+
#[ORM\ManyToOne(targetEntity: CustomerOptionInterface::class, inversedBy: 'translations')]
3232
#[ORM\JoinColumn(onDelete: 'CASCADE')]
3333
protected ?TranslatableInterface $translatable = null;
3434

0 commit comments

Comments
 (0)