From 26cc4b483630c4d7c9eaeec03ea889adf18cec29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Wed, 21 Sep 2022 12:47:12 +0200 Subject: [PATCH] Fixed exception --- src/Entity/Parts/PartTraits/ManufacturerTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Parts/PartTraits/ManufacturerTrait.php b/src/Entity/Parts/PartTraits/ManufacturerTrait.php index 669867a3..57b94d7d 100644 --- a/src/Entity/Parts/PartTraits/ManufacturerTrait.php +++ b/src/Entity/Parts/PartTraits/ManufacturerTrait.php @@ -84,7 +84,7 @@ trait ManufacturerTrait * @Assert\Choice({"announced", "active", "nrfnd", "eol", "discontinued", ""}) * @ColumnSecurity(type="string", prefix="status", placeholder="") */ - protected string $manufacturing_status = ''; + protected ?string $manufacturing_status = ''; /** * Get the link to the website of the article on the manufacturers website