From 0359b0e4c5331567fb8958b47f21d2059b844d08 Mon Sep 17 00:00:00 2001 From: Marijan Klaric Date: Tue, 2 Jul 2024 13:05:04 +0200 Subject: [PATCH] MUL-12 allow id in Field class to be null --- lib/Core/Site/Values/Field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Core/Site/Values/Field.php b/lib/Core/Site/Values/Field.php index 3de986fe..c4044b1d 100644 --- a/lib/Core/Site/Values/Field.php +++ b/lib/Core/Site/Values/Field.php @@ -12,7 +12,7 @@ final class Field extends APIField { - protected int $id; + protected ?int $id; protected string $fieldDefIdentifier; protected Value $value; protected string $languageCode;