All of the setter methods in Zend\Mime\Part and Zend\Mail\Message return $this, allowing you to chain calls to those methods. Zend\Mime\Message doesn't work this way, for seemingly no particular reason.
The PR simply adds return $this to those few setter functions. There should be no API breakage or other BC issues AFAIK. Tests pass (there weren't any that relied on the existing behaviour, of course).
All of the setter methods in
Zend\Mime\Part
andZend\Mail\Message
return$this
, allowing you to chain calls to those methods.Zend\Mime\Message
doesn't work this way, for seemingly no particular reason.The PR simply adds
return $this
to those few setter functions. There should be no API breakage or other BC issues AFAIK. Tests pass (there weren't any that relied on the existing behaviour, of course).