It seems like $options can also be of type array; however, parameter $options of ZfMailer\Service\AbstractMailer::setOptions() does only seem to accept ZfMailer\Options\ModuleOptions, 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 $renderer can also be of type array; however, parameter $renderer of ZfMailer\Service\AbstractMailer::setRenderer() does only seem to accept Zend\View\Renderer\RendererInterface, 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 $message can also be of type array; however, parameter $mailMessage of ZfMailer\Service\AbstractMailer::setMailMessage() does only seem to accept Zend\Mail\Message, 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 $transport can also be of type array; however, parameter $transport of ZfMailer\Service\AbstractMailer::setTransport() does only seem to accept Zend\Mail\Transport, 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