From 5b69cada9a8ac7ac2d4bc727d94999b9832d74c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Hochd=C3=B6rfer?= Date: Sun, 19 May 2024 13:57:41 +0200 Subject: [PATCH] Fix typed property initialization error (#155) --- src/Traits/ProductCustomerOptionCapableTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/ProductCustomerOptionCapableTrait.php b/src/Traits/ProductCustomerOptionCapableTrait.php index 30908049..1f124a55 100644 --- a/src/Traits/ProductCustomerOptionCapableTrait.php +++ b/src/Traits/ProductCustomerOptionCapableTrait.php @@ -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