X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/09388c0e8247c60b1f01360944d9ad416810b77b..5c4a473f4d617940aedd24d9ef0154ad85cd1938:/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;