10BC0 [Messenger] Fix a typo on Messenger handler results example by alepdev · Pull Request #14535 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@alepdev
Copy link
Contributor
@alepdev alepdev commented Nov 11, 2020

This fixes typo on the Messenger handler results sample snippet by renaming Result object since the definition in the import and the name used in the return type of the function did not match.

I fixed with ListItemsResult instead of ListItemsQueryResult but tell me which one is better.

@carsonbot carsonbot added this to the 4.2 milestone Nov 11, 2020
@carsonbot carsonbot changed the title Fix a typo on Messenger handler results example [Messenger] Fix a typo on Messenger handler results example Nov 12, 2020
@carsonbot carsonbot changed the title Fix a typo on Messenger handler results example [Messenger] Fix a typo on Messenger handler results example Nov 12, 2020
@javiereguiluz javiereguiluz modified the milestones: 4.2, 4.4 Nov 12, 2020
@javiereguiluz javiereguiluz changed the base branch from 4.2 to 4.4 November 12, 2020 09:26
@javiereguiluz javiereguiluz merged commit 657e662 into symfony:4.4 Nov 12, 2020
@javiereguiluz
Copy link
Member
javiereguiluz commented Nov 12, 2020

Alessio, thanks for fixing this bug. We did a couple of changes while merging:

  • We merged in 4.4 (and 5.1 and 5.x) because 4.2 is no longer maintained. We only merge on maintained branches. You can find those branches here: https://symfony.com/releases
  • As you mentioned, the fix can be reversed to use the imported ListItemsQueryResult class. We did that because the class name looked more consistent with the existing ListItemsQuery.

Thanks!

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

0