Loading src/UnicaenAuthToken/Service/TokenService.php +5 −2 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class TokenService try { $uuid = $this->generateUuid(); } catch (Exception $e) { throw new RuntimeException("", null, $e); throw TokenServiceException::generateUuidError($e); } $class = $this->moduleOptions->getUserTokenEntityClass(); Loading Loading @@ -111,7 +111,10 @@ class TokenService */ public function findAllUserToken(): array { return $this->getRepository()->findAll(); $qb = $this->getRepository()->createQueryBuilder('ut') ->addOrderBy('ut.userId'); return $qb->getQuery()->getResult(); } /** Loading Loading
src/UnicaenAuthToken/Service/TokenService.php +5 −2 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class TokenService try { $uuid = $this->generateUuid(); } catch (Exception $e) { throw new RuntimeException("", null, $e); throw TokenServiceException::generateUuidError($e); } $class = $this->moduleOptions->getUserTokenEntityClass(); Loading Loading @@ -111,7 +111,10 @@ class TokenService */ public function findAllUserToken(): array { return $this->getRepository()->findAll(); $qb = $this->getRepository()->createQueryBuilder('ut') ->addOrderBy('ut.userId'); return $qb->getQuery()->getResult(); } /** Loading