Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.x] Set return type of MailManager::createMailgunTransport to be TransportInterface #45822

Merged

Conversation

jnoordsij
Copy link
Contributor

In #41255 the default transport was changed to be the MailgunHttpsTransport, then in #41309 this was changed to allow any of the possible transports created by MailgunTransportFactory. Given that the factory lists TransportInterface as return type on the create method instead of explicitly listing the possible options (see https://github.com/symfony/mailgun-mailer/blob/6.2/Transport/MailgunTransportFactory.php#L24), I think this would be the best fit here as well.

@taylorotwell taylorotwell merged commit 19d4866 into laravel:9.x Jan 27, 2023
@jnoordsij jnoordsij deleted the fix-createmailguntransport-return-type branch February 4, 2023 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants