Messagestream wrongly described
piegus opened this issue · comments
piegus commented
When phpstan run through my code it gave me error due to bad docs:
Parameter $messageStream of method Postmark\PostmarkClient::sendEmailWithTemplate() expects array|null, string|null given
This is how I use your template:
my Mail::getMessageStream looks like:
public function getMessageStream():?string
{
return $this->messageStream;
}
\Postmark\PostmarkClient::sendEmailWithTemplate
When in postmark application I see that
I think that documentation should'd be changed to:
Eli Wood commented
I have fixed this in the next release. Thanks for bringing it to our attention.