Add throws tag for DateInterval exception

This commit is contained in:
sephster 2018-10-13 13:42:27 +01:00
parent 398029be56
commit b4d88995de
No known key found for this signature in database
GPG Key ID: 077754CA23023F4F

View File

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