Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #30677 Fix type hints for email attachments (fabpot)
This PR was merged into the 4.3-dev branch. Discussion ---------- Fix type hints for email attachments | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | n/a | License | MIT | Doc PR | n/a `createDataPart()` must return a `DataPart` instance, so `attachPart()` must only accept `DataPart` instances and `getAttachments()` is guaranteed to return an array of `DataPart` instances. Commits ------- 8059c50 fixed type hints for email attachments
- Loading branch information