Skip to content

Conversation

@yoeunes
Copy link
Contributor

@yoeunes yoeunes commented Nov 1, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? no
Issues n/a
License MIT

This PR removes a redundant $transportName argument passed to EmailMessage::fromNotification() in EmailChannel::notify().

This third argument has been ignored since PR #35167.

The transport is already correctly set on the subsequent line (78) via $message->transport($transportName);, making this argument superfluous. This change simply cleans up the legacy method call.

@yoeunes yoeunes requested a review from OskarStark as a code owner November 1, 2025 16:32
@carsonbot carsonbot added this to the 7.3 milestone Nov 1, 2025
@yoeunes yoeunes force-pushed the notifier-remove-unused-transport-arg branch 2 times, most recently from 4231049 to 7a930c6 Compare November 1, 2025 18:00
@nicolas-grekas nicolas-grekas modified the milestones: 7.3, 7.4 Nov 3, 2025
@nicolas-grekas nicolas-grekas changed the base branch from 7.3 to 7.4 November 3, 2025 09:26
@nicolas-grekas nicolas-grekas force-pushed the notifier-remove-unused-transport-arg branch from 7a930c6 to 8014c5d Compare November 3, 2025 09:26
@nicolas-grekas
Copy link
Member

Thank you @yoeunes.

@nicolas-grekas nicolas-grekas merged commit 202c774 into symfony:7.4 Nov 3, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants