You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that phpstan is right, the data types are not strictly compatible.
It actually works without crashing though.
I know I can ignore this phpstan issue, but it would be nice to have it fixed.
How to reproduce
Implement the custom mail transport like in the documentation (copy/paste) from the link above.
Run phpstan with level 5
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected
12.10.2
Description
I've implemented a custom mail transport as described here:
https://laravel.com/docs/12.x/mail#custom-transports
The example on the documentation page shows how to convert SentMessage to Email object:
phpstan (level 5) complains about the data types:
It seems that phpstan is right, the data types are not strictly compatible.
It actually works without crashing though.
I know I can ignore this phpstan issue, but it would be nice to have it fixed.
How to reproduce
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: