SendGrid\Mail\Mail::setGlobalSubject() behaves unexpectedly #669
Labels
difficulty: easy
fix is easy in difficulty
status: work in progress
Twilio or the community is in the process of implementing
type: bug
bug in the library
Issue Summary
The method
SendGrid\Mail\Mail::setGlobalSubject($subject)
will always set the class memberMail::$subject
to whatever the method parameter$subject
is. From the documentation on the class member and ongetGlobalSubject()
and the way the method is written, I'm led to believe thatMail::$subject
should always be an instance ofSendGrid\Mail\Subject
.Steps to Reproduce
Technical details:
The text was updated successfully, but these errors were encountered: