]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Entity/User.php
Replace findAllAsArray with findIndexByGroupId
[userbundle] / Entity / User.php
index 44680fb360729496577dce4fa4860498090a0093..5220e77dd0bec6410bc184ef0dd487e1ac433e46 100644 (file)
@@ -15,12 +15,12 @@ use Doctrine\Common\Collections\Collection;
 use Doctrine\Common\Collections\ArrayCollection;
 use Doctrine\ORM\Event\PreUpdateEventArgs;
 
-use Symfony\Component\Security\Core\User\UserInterface;
-use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
-
 use Rapsys\UserBundle\Entity\Civility;
 use Rapsys\UserBundle\Entity\Group;
 
+use Symfony\Component\Security\Core\User\UserInterface;
+use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
+
 /**
  * User
  */
@@ -31,7 +31,7 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface {
        protected ?int $id = null;
 
        /**
-        * Creation datetime
+        * Create datetime
         */
        protected \DateTime $created;