Historical Rules · 29 September 2017
Rule 702.120a
Official source text from the 29 September 2017 Rules release
Melee is a triggered ability. “Melee” means “Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.”