X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/832be89c5836f1f58e4e8ef89587ddcf1bd68c9c..38bbc6345098782376b9a0d14de901bc7af9cf0b:/Entity/User.php?ds=sidebyside diff --git a/Entity/User.php b/Entity/User.php index 380c7ff..44680fb 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 + * Creation datetime */ protected \DateTime $created; /** - * @var \DateTime + * Update datetime */ protected \DateTime $updated; /** - * @var Doctrine\Common\Collections\Collection + * Groups collection */ protected Collection $groups;