diff --git a/src/Component/Checker/ClaimCheckerManager.php b/src/Component/Checker/ClaimCheckerManager.php index dea9fcfc..9b02cf82 100644 --- a/src/Component/Checker/ClaimCheckerManager.php +++ b/src/Component/Checker/ClaimCheckerManager.php @@ -81,9 +81,9 @@ public function getCheckers(): array * * @param array $claims * - * @return array - * * @throws InvalidClaimException + * + * @return array */ public function check(array $claims): array { diff --git a/src/Component/Checker/HeaderCheckerManager.php b/src/Component/Checker/HeaderCheckerManager.php index 29f4ee6a..7fd8b04b 100644 --- a/src/Component/Checker/HeaderCheckerManager.php +++ b/src/Component/Checker/HeaderCheckerManager.php @@ -47,7 +47,7 @@ private function __construct(array $checkers, array $tokenTypes) * This method creates the HeaderCheckerManager. * The first argument is a list of header parameter checkers objects. * The second argument is a list of token type support objects. - * It is recommended to support only one token type per manager + * It is recommended to support only one token type per manager. * * @param HeaderChecker[] $checkers * @param TokenTypeSupport[] $tokenTypes diff --git a/src/Component/Checker/InvalidClaimException.php b/src/Component/Checker/InvalidClaimException.php index 5c248469..c44aeb73 100644 --- a/src/Component/Checker/InvalidClaimException.php +++ b/src/Component/Checker/InvalidClaimException.php @@ -44,7 +44,7 @@ public function __construct(string $message, string $claim, $value) } /** - * Returns the claim that caused the exception + * Returns the claim that caused the exception. * * @return string */ @@ -54,7 +54,7 @@ public function getClaim(): string } /** - * Returns the claim value that caused the exception + * Returns the claim value that caused the exception. * * @return mixed */ diff --git a/src/Component/Checker/InvalidHeaderException.php b/src/Component/Checker/InvalidHeaderException.php index baf0216d..c0415fda 100644 --- a/src/Component/Checker/InvalidHeaderException.php +++ b/src/Component/Checker/InvalidHeaderException.php @@ -44,7 +44,7 @@ public function __construct(string $message, string $header, $value) } /** - * Returns the header parameter that caused the exception + * Returns the header parameter that caused the exception. * * @return string */ @@ -54,7 +54,7 @@ public function getHeader(): string } /** - * Returns the header parameter value that caused the exception + * Returns the header parameter value that caused the exception. * * @return mixed */