diff --git a/src/Bundle/ChillMainBundle/Entity/User.php b/src/Bundle/ChillMainBundle/Entity/User.php index 1317edf83..dda6b63e4 100644 --- a/src/Bundle/ChillMainBundle/Entity/User.php +++ b/src/Bundle/ChillMainBundle/Entity/User.php @@ -224,7 +224,7 @@ class User implements UserInterface /** * Get id. */ - public function getId(): int + public function getId(): ?int { return $this->id; }