diff --git a/src/Synolia/Bundle/FavoriteBundle/Entity/Favorite.php b/src/Synolia/Bundle/FavoriteBundle/Entity/Favorite.php index 474592d..202ba5f 100644 --- a/src/Synolia/Bundle/FavoriteBundle/Entity/Favorite.php +++ b/src/Synolia/Bundle/FavoriteBundle/Entity/Favorite.php @@ -67,7 +67,7 @@ class Favorite implements ExtendEntityInterface, OrganizationAwareInterface, Dat /** * @return integer */ - public function getId(): int + public function getId(): ?int { return $this->id; }