Skip to content

Commit 5b69cad

Browse files
authored
Fix typed property initialization error (#155)
1 parent fa421ff commit 5b69cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/ProductCustomerOptionCapableTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ trait ProductCustomerOptionCapableTrait
1616
{
1717
#[ORM\ManyToOne(targetEntity: CustomerOptionGroupInterface::class, inversedBy: "products")]
1818
#[ORM\JoinColumn(onDelete: "SET NULL")]
19-
protected ?CustomerOptionGroupInterface $customerOptionGroup;
19+
protected ?CustomerOptionGroupInterface $customerOptionGroup = null;
2020

2121
/**
2222
* @var Collection<CustomerOptionValuePriceInterface>

0 commit comments

Comments
 (0)