Shares of the fast-food chain jumped on a solid quarterly report. Here’s what investors need to know.