It seems like $email->getSubject() can also be of type null; however, parameter $subject of ProjetNormandie\EmailBun...ity\Email::setSubject() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
It seems like $email->getTextBody() can also be of type null and resource; however, parameter $bodyText of ProjetNormandie\EmailBun...ty\Email::setBodyText() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
It seems like $email->getHtmlBody() can also be of type null and resource; however, parameter $bodyHtml of ProjetNormandie\EmailBun...ty\Email::setBodyHtml() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation