private function normalizeExpiry(int $expiry) : int
    {
        if ($expiry > self::THIRTY_DAYS_IN_SECONDS) {
            return time() + $expiry;
        }

        return $expiry;
    }
private function normalizeExpiry(int $expiry) : int
    {
        if ($expiry > self::THIRTY_DAYS_IN_SECONDS) {
            return time() + $expiry;
        }

        return $expiry;
    }
private function normalizeExpiry ( int $ expiry ) : int { if ( $ expiry > self :: THIRTY_DAYS_IN_SECONDS ) { return time ( ) + $ expiry ; } return $ expiry ; }
Expiry treated as a unix timestamp instead of an offset if expiry is greater than 30 days.

@src https://developer.couchbase.com/documentation/server/4.1/developer-guide/expiry.html
Expiry treated as a unix timestamp instead of an offset if expiry is greater than 30 days .