php-jwt icon indicating copy to clipboard operation
php-jwt copied to clipboard

fix: update error text for consistency

Open fredden opened this issue 2 years ago • 0 comments

This is a follow-up to https://github.com/firebase/php-jwt/pull/492 where an inconsistency was introduced. When triggering these error messages, if the value should be rounded up, then the value in the error message won't match the value being checked. Given we're talking about fractions of a second, this shouldn't cause any real-world impact. This inconsistency may make debugging edge cases difficult, leading to confusion. This confusion may lead do setting too much leeway in timing settings.

fredden avatar Jul 17 '23 14:07 fredden