php-jwt
php-jwt copied to clipboard
fix: ensure ratelimit expiry is set every time
fixes https://github.com/firebase/php-jwt/issues/543
Without setting the cached item expiry every time, the expiry is not persisted. In order to address this, we cache an array instead of an integer for the rate limit in the CachedKeySet class.