It seems like $contact->getFromName() can also be of type null; however, parameter $fromName of App\Mailer\Sender\Adapte...ftMailerAdapter::send() 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 $contact->getFromEmail() can also be of type null; however, parameter $fromEmail of App\Mailer\Sender\Adapte...ftMailerAdapter::send() 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 $contact->getToEmail() can also be of type null; however, parameter $toEmail of App\Mailer\Sender\Adapte...ftMailerAdapter::send() 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 $contact->getMessage() can also be of type null; however, parameter $body of App\Mailer\Sender\Adapte...ftMailerAdapter::send() 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