Fixed: a userid can be null

This commit is contained in:
2023-01-19 13:52:24 +01:00
parent bd324753f3
commit e87f0bf348

View File

@@ -224,7 +224,7 @@ class User implements UserInterface
/**
* Get id.
*/
public function getId(): int
public function getId(): ?int
{
return $this->id;
}