mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fixed: a userid can be null
This commit is contained in:
parent
bd324753f3
commit
e87f0bf348
@ -224,7 +224,7 @@ class User implements UserInterface
|
||||
/**
|
||||
* Get id.
|
||||
*/
|
||||
public function getId(): int
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user