The set method's third parameter is now called $duration and only accepts the number of seconds from now of when the key will expire.