Yankees outfielder Brett Gardner had surgery to repair a core muscle near his ribs, the team announced Wednesday. 

The procedure on his right rectus abdominis muscle took place on October 16 and has a recovery period of four weeks, meaning Gardner should be fine for his offseason program by next week.