mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
fix
This commit is contained in:
@@ -39,6 +39,9 @@ class EspoManager implements Manager
|
||||
{
|
||||
private EntityManager $entityManager;
|
||||
|
||||
/**
|
||||
* @var RDBRepository<AuthTokenEntity>
|
||||
*/
|
||||
private RDBRepository $repository;
|
||||
|
||||
private const TOKEN_RANDOM_LENGTH = 16;
|
||||
@@ -47,7 +50,10 @@ class EspoManager implements Manager
|
||||
{
|
||||
$this->entityManager = $entityManager;
|
||||
|
||||
$this->repository = $entityManager->getRDBRepository(AuthTokenEntity::ENTITY_TYPE);
|
||||
/** @var RDBRepository<AuthTokenEntity> */
|
||||
$repository = $entityManager->getRDBRepository(AuthTokenEntity::ENTITY_TYPE);
|
||||
|
||||
$this->repository = $repository;
|
||||
}
|
||||
|
||||
public function get(string $token): ?AuthToken
|
||||
|
||||
@@ -38,6 +38,9 @@ trait FieldUtilSetter
|
||||
*/
|
||||
protected $fieldUtil;
|
||||
|
||||
/**
|
||||
* @var FieldUtil
|
||||
*/
|
||||
protected $fieldManagerUtil;
|
||||
|
||||
public function setFieldUtil(FieldUtil $fieldUtil): void
|
||||
|
||||
Reference in New Issue
Block a user