add default attributes for user

This commit is contained in:
Julien Fastré 2022-05-13 14:51:02 +02:00
parent 3fb3df9db1
commit 52dd08e088

View File

@ -45,7 +45,7 @@ class User implements AdvancedUserInterface
* *
* @ORM\Column(type="json", nullable=true) * @ORM\Column(type="json", nullable=true)
*/ */
private array $attributes; private array $attributes = [];
/** /**
* @ORM\ManyToOne(targetEntity=Location::class) * @ORM\ManyToOne(targetEntity=Location::class)