Add throws tag for DateInterval exception

This commit is contained in:
sephster
2018-10-13 13:42:27 +01:00
parent 398029be56
commit b4d88995de

View File

@@ -34,9 +34,12 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
private $enableCodeExchangeProof = false;
/**
* @param AuthCodeRepositoryInterface $authCodeRepository
* @param AuthCodeRepositoryInterface $authCodeRepository
* @param RefreshTokenRepositoryInterface $refreshTokenRepository
* @param \DateInterval $authCodeTTL
* @param \DateInterval $authCodeTTL
*
* @return void
* @throws \Exception
*/
public function __construct(
AuthCodeRepositoryInterface $authCodeRepository,