src/Token/Plain.php
public function isExpired(DateTimeInterface $now): bool
    {
        if (! $this->claims->has(RegisteredClaims::EXPIRATION_TIME)) {
            return false;
        }

        return $now > $this->claims->get(RegisteredClaims::EXPIRATION_TIME);
    }
public function isExpired(DateTimeInterface $now): bool
    {
        if (! $this->claims->has(RegisteredClaims::EXPIRATION_TIME)) {
            return false;
        }

        return $now > $this->claims->get(RegisteredClaims::EXPIRATION_TIME);
    }
{@inheritdoc}