From cd38d31a57aad7336dae6bdec562db975ff37f4d Mon Sep 17 00:00:00 2001 From: allavenavr Date: Thu, 21 Nov 2024 16:18:44 +0100 Subject: [PATCH] controllers --- src/Entity/UserApp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/UserApp.php b/src/Entity/UserApp.php index 7dabaa2..8c00353 100644 --- a/src/Entity/UserApp.php +++ b/src/Entity/UserApp.php @@ -28,8 +28,8 @@ class UserApp implements UserInterface, PasswordAuthenticatedUserInterface /** * @var list The user roles */ - #[ORM\Column] - private array $roles = []; + #[ORM\Column(nullable: true)] + private ?array $roles = null; /** * @var string The hashed password