From ff599795d37a068f1f7ea5d01fb3b6198501cf54 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 4 Nov 2023 19:21:40 +0100 Subject: [PATCH] Allow null --- app/Models/TransactionCurrency.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/TransactionCurrency.php b/app/Models/TransactionCurrency.php index 1565bee62a..f3dcd7801a 100644 --- a/app/Models/TransactionCurrency.php +++ b/app/Models/TransactionCurrency.php @@ -79,8 +79,8 @@ class TransactionCurrency extends Model { use SoftDeletes; - public bool $userEnabled; - public bool $userDefault; + public ?bool $userEnabled; + public ?bool $userDefault; /** * The attributes that should be casted to native types.