boyscout: style CI tweaks

This commit is contained in:
filecage
2019-03-11 23:26:35 +01:00
parent 66d4ce6de8
commit aa5bbe5f06
2 changed files with 2 additions and 3 deletions

View File

@@ -478,7 +478,7 @@ abstract class AbstractGrant implements GrantTypeInterface
{
$refreshToken = $this->refreshTokenRepository->getNewRefreshToken();
if ($refreshToken === null) {
return null;
return;
}
$refreshToken->setExpiryDateTime((new DateTime())->add($this->refreshTokenTTL));