McDonald's saw increased customer traffic in the latest quarter, which drove results.