]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Entity/User.php
Strict types
[userbundle] / Entity / User.php
index 380c7ffa1660b83a53fdbd9ab3ed88e65c1d4670..44680fb360729496577dce4fa4860498090a0093 100644 (file)
@@ -26,22 +26,22 @@ use Rapsys\UserBundle\Entity\Group;
  */
 class User implements UserInterface, PasswordAuthenticatedUserInterface {
        /**
  */
 class User implements UserInterface, PasswordAuthenticatedUserInterface {
        /**
-        * @var ?integer
+        * Primary key
         */
         */
-       protected ?int $id;
+       protected ?int $id = null;
 
        /**
 
        /**
-        * @var \DateTime
+        * Creation datetime
         */
        protected \DateTime $created;
 
        /**
         */
        protected \DateTime $created;
 
        /**
-        * @var \DateTime
+        * Update datetime
         */
        protected \DateTime $updated;
 
        /**
         */
        protected \DateTime $updated;
 
        /**
-        * @var Doctrine\Common\Collections\Collection
+        * Groups collection
         */
        protected Collection $groups;
 
         */
        protected Collection $groups;