I believe the Traits ClickNCollectShippingMethod and ClickNCollectShipment should type-hint LocationInterface instead of Location in order to be able to override the Location entity properly?
Example (in Entity/ClickNCollectShippingMethod):
public function addLocation(Location $location): void
should be :
public function addLocation(LocationInterface $location): void
Hi,
I believe the Traits ClickNCollectShippingMethod and ClickNCollectShipment should type-hint LocationInterface instead of Location in order to be able to override the Location entity properly?
Example (in Entity/ClickNCollectShippingMethod):
public function addLocation(Location $location): void
should be :
public function addLocation(LocationInterface $location): void