From b4d88995de45fa85a69b05094bc43781f861c5de Mon Sep 17 00:00:00 2001 From: sephster Date: Sat, 13 Oct 2018 13:42:27 +0100 Subject: [PATCH] Add throws tag for DateInterval exception --- src/Grant/AuthCodeGrant.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Grant/AuthCodeGrant.php b/src/Grant/AuthCodeGrant.php index cfa8309b..552aa7ba 100644 --- a/src/Grant/AuthCodeGrant.php +++ b/src/Grant/AuthCodeGrant.php @@ -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,