From 52dd08e08807322428e772fa75f4682ae2f258dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 13 May 2022 14:51:02 +0200 Subject: [PATCH] add default attributes for user --- src/Bundle/ChillMainBundle/Entity/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Entity/User.php b/src/Bundle/ChillMainBundle/Entity/User.php index 76fd7196d..ad4888d58 100644 --- a/src/Bundle/ChillMainBundle/Entity/User.php +++ b/src/Bundle/ChillMainBundle/Entity/User.php @@ -45,7 +45,7 @@ class User implements AdvancedUserInterface * * @ORM\Column(type="json", nullable=true) */ - private array $attributes; + private array $attributes = []; /** * @ORM\ManyToOne(targetEntity=Location::class)