diff options
Diffstat (limited to 'plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php')
-rw-r--r-- | plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php b/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php index f2d1f1d8..8f5b9b31 100644 --- a/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php +++ b/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php @@ -81,7 +81,7 @@ class JWT { * @uses urlsafe_b64_decode */ public static function decode( $jwt, $key, array $allowed_algs = array() ) { - $timestamp = is_null( static::$timestamp ) ? time() : static::$timestamp; + $timestamp = static::$timestamp === null ? time() : static::$timestamp; if ( empty( $key ) ) { throw new InvalidArgumentException( 'Key may not be empty' ); |