Skip to content

Conversation

@Jubeki
Copy link
Contributor

@Jubeki Jubeki commented Sep 12, 2021

This PR removes some old references to Swift_Mailer and replaces it with the Symfony Mailer equivalent.

Even though the Symfony's TransportFactories annotate TransportInterface as the return type, Some of Laravels docblocks have a specific return type annotated.

Example:
EsmtpTransportFactory returns an Object of TransportInterface but in the Laravel DocBlocks the real class will be annotated, which is here EsmtpTransport

Therefor all @return annotations have the most specific class.

@GrahamCampbell GrahamCampbell changed the title [Symfony-Mailer] Update docblocks Update symfony mailer docblocks Sep 12, 2021
@driesvints driesvints merged commit f7324d1 into laravel:symfony-mailer Sep 12, 2021
@driesvints
Copy link
Member

Thanks @Jubeki

driesvints pushed a commit that referenced this pull request Sep 12, 2021
* Update docblocks from Swift Mailer to Symfony Mailer

* Make TransportInterface more specific
@Jubeki Jubeki deleted the update-symfony-mailer-docblocks branch September 12, 2021 18:29
taylorotwell added a commit that referenced this pull request Sep 14, 2021
* Implement Symfony Mailer

* Apply fixes from StyleCI

* Update src/Illuminate/Mail/Message.php

Co-authored-by: michael-rubel <[email protected]>

* Update src/Illuminate/Mail/Message.php

Co-authored-by: michael-rubel <[email protected]>

* Update src/Illuminate/Mail/Message.php

Co-authored-by: michael-rubel <[email protected]>

* Update src/Illuminate/Mail/Message.php

Co-authored-by: michael-rubel <[email protected]>

* Update src/Illuminate/Mail/Message.php

Co-authored-by: michael-rubel <[email protected]>

* Update Array and Log transports

* Apply fixes from StyleCI

* Fix interface implementation

* Update Mailer

* Apply fixes from StyleCI

* Rename

* Remove method

* Fix tests

* Apply fixes from StyleCI

* Work on Mailer tests

* type-hint

* Fix Mailer tests

* Fix more tests

* Apply fixes from StyleCI

* Migrate Mailgun transport

* Migrate Postmark transport

* Replace SesTransport

* Remove transports from dev dependencies

* Allow setting options on esmtp transport

* Fix Postmark transport

* Fix embedding files

* Clarify API transports

* Apply fixes from StyleCI

* Fix SES transport setup

* Add MessageStreamId to Postmark Transport again (#38748)

* Update symfony mailer docblocks (#38773)

* Update docblocks from Swift Mailer to Symfony Mailer

* Make TransportInterface more specific

* Add Session Token to SES Transport (#38797)

* Update src/Illuminate/Mail/Transport/ArrayTransport.php

Co-authored-by: Julius Kiekbusch <[email protected]>

* fix docblock

* Add Wrapper for Symfony SentMessage (#38803)

* Create SentMessage wrapper for Symfony's SentMessage

* Wrap Symfony SentMessage

* Update Docblocks to Illuminate\Mail\SentMessage

* Fix sendMailable

* Update SentMessage.php

Co-authored-by: Dries Vints <[email protected]>

Co-authored-by: Taylor Otwell <[email protected]>
Co-authored-by: michael-rubel <[email protected]>
Co-authored-by: Julius Kiekbusch <[email protected]>
Co-authored-by: Taylor Otwell <[email protected]>
Co-authored-by: Taylor Otwell <[email protected]>
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.

2 participants