Skip to content

Commit

Permalink
Fix typed property initialization error (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
shochdoerfer authored May 19, 2024
1 parent fa421ff commit 5b69cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/ProductCustomerOptionCapableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ trait ProductCustomerOptionCapableTrait
{
#[ORM\ManyToOne(targetEntity: CustomerOptionGroupInterface::class, inversedBy: "products")]
#[ORM\JoinColumn(onDelete: "SET NULL")]
protected ?CustomerOptionGroupInterface $customerOptionGroup;
protected ?CustomerOptionGroupInterface $customerOptionGroup = null;

/**
* @var Collection<CustomerOptionValuePriceInterface>
Expand Down

0 comments on commit 5b69cad

Please sign in to comment.