Skip to content

Commit

Permalink
fix: use interface in association to avoid mapping error
Browse files Browse the repository at this point in the history
  • Loading branch information
delyriand committed Mar 19, 2024
1 parent 81ea74f commit ccb20c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/ShipmentTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
trait ShipmentTrait
{
/**
* @ORM\OneToOne(targetEntity="MonsieurBiz\SyliusShippingSlotPlugin\Entity\Slot", mappedBy="shipment", fetch="EAGER")
* @ORM\OneToOne(targetEntity="MonsieurBiz\SyliusShippingSlotPlugin\Entity\SlotInterface", mappedBy="shipment", fetch="EAGER")
*/
private ?SlotInterface $slot = null;

Expand Down

0 comments on commit ccb20c9

Please sign in to comment.