Skip to content

Commit

Permalink
Update Validation.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hamedhaouari authored Jun 17, 2021
1 parent e320001 commit 0f3823e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public static function checkClaimType(string $claim, string $type, array $payloa
}
break;
case 'string':
break;
default:
if (array_key_exists($claim, $payload) && ! is_string($payload[$claim])) {
throw new InvalidClaimTypeException(sprintf('Invalid %s claim - %s value required', $claim, $type));
Expand Down

0 comments on commit 0f3823e

Please sign in to comment.