]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Entity/User.php
Cleanup
[userbundle] / Entity / User.php
index 380c7ffa1660b83a53fdbd9ab3ed88e65c1d4670..445c3bdddec00fd78e55481942f09c167648dae3 100644 (file)
@@ -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;