X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/eb1f263248166f36f5eb7dc17e39721e80b3e7c2..HEAD:/Repository/GoogleTokenRepository.php?ds=inline diff --git a/Repository/GoogleTokenRepository.php b/Repository/GoogleTokenRepository.php index 29b96d2..4aecf6c 100644 --- a/Repository/GoogleTokenRepository.php +++ b/Repository/GoogleTokenRepository.php @@ -95,8 +95,8 @@ SQL; ->addScalarResult('uid', 'uid', 'integer') ->addScalarResult('access', 'access', 'string') ->addScalarResult('refresh', 'refresh', 'string') - ->addScalarResult('created', 'created', 'datetime') - ->addScalarResult('expired', 'expired', 'datetime') + ->addScalarResult('created', 'created', 'datetime_immutable') + ->addScalarResult('expired', 'expired', 'datetime_immutable') ->addScalarResult('cids', 'cids', 'string') ->addScalarResult('cmails', 'cmails', 'string') ->addScalarResult('csummaries', 'csummaries', 'string') @@ -109,7 +109,7 @@ SQL; $result = []; //Get tokens - $tokens = $this->_em + $tokens = $this->manager ->createNativeQuery($req, $rsm) ->getArrayResult();