Historical Rules · 5 October 2018
Rule 702.120a
Official source text from the 5 October 2018 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.”