Skip to content

Commit

Permalink
Use CustomerOptionInterface in CustomerOptionTranslation to allow ent…
Browse files Browse the repository at this point in the history
…ity overwriting (#153)
  • Loading branch information
mbutl authored May 13, 2024
1 parent e9463a7 commit fa421ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/CustomerOptions/CustomerOptionTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CustomerOptionTranslation extends AbstractTranslation implements CustomerO
#[ORM\Column(type: 'string', nullable: true)]
protected ?string $name = null;

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

Expand Down

0 comments on commit fa421ff

Please sign in to comment.