From 31b291b9c3ad21f3fa36022e9cd60537085d8155 Mon Sep 17 00:00:00 2001 From: James Read Date: Fri, 1 Mar 2024 00:55:35 +0800 Subject: [PATCH] Removing readonly from entity --- src/Domain/User/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Domain/User/User.php b/src/Domain/User/User.php index 8bbf7cd7..e01e8366 100644 --- a/src/Domain/User/User.php +++ b/src/Domain/User/User.php @@ -15,7 +15,7 @@ class User implements JsonSerializable private string $lastName; public function __construct( - private readonly int|null $id, + private int|null $id, string $username, string $firstName, string $lastName