X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/09388c0e8247c60b1f01360944d9ad416810b77b..85cf650f29e9514a48052a167fb1feccc041191a:/Entity/User.php diff --git a/Entity/User.php b/Entity/User.php index 380c7ff..445c3bd 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -26,22 +26,22 @@ use Rapsys\UserBundle\Entity\Group; */ class User implements UserInterface, PasswordAuthenticatedUserInterface { /** - * @var ?integer + * Primary key */ - protected ?int $id; + protected ?int $id = null; /** - * @var \DateTime + * Create datetime */ protected \DateTime $created; /** - * @var \DateTime + * Update datetime */ protected \DateTime $updated; /** - * @var Doctrine\Common\Collections\Collection + * Groups collection */ protected Collection $groups;