8000 [Doctrine/Events] Fix bad argument name in example by neghmurken · Pull Request #17380 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Doctrine/Events] Fix bad argument name in example #17380

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

Closed
wants to merge 0 commits into from

Conversation

neghmurken
Copy link
Contributor

The ContainerConfigurator variable name used in method argument did not match the name used in the method body

@javiereguiluz
Copy link
Member

@neghmurken thanks a lot for this contribution. Before merging it, I looked in the docs and found that our variable naming is very inconsistent in examples like this. That's why I've opened an issue to discuss about this (#17381) and I'm closing this PR so we can later fix all variables starting from 4.4 branch and up. Thanks!

@xabbuh
Copy link
Member
xabbuh commented Oct 28, 2022

@javiereguiluz I think we should reopen here nonetheless as the code example as is right now is not runnable (see the mismatch of the argument name and the variable being used inside the method body).

@xabbuh xabbuh reopened this Oct 28, 2022
@xabbuh xabbuh added this to the 5.4 milestone Oct 28, 2022
@OskarStark OskarStark changed the base branch from 6.1 to 5.4 October 28, 2022 10:16
@OskarStark
Copy link
Contributor

Thank you Pierre.

OskarStark added a commit that referenced this pull request Oct 28, 2022
…murken)

This PR was submitted for the 6.1 branch but it was merged into the 5.4 branch instead.

Discussion
----------

[Doctrine/Events] Fix bad argument name in example

The ContainerConfigurator variable name used in method argument did not match the name used in the method body

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).

-->

Commits
-------

bdb7399 [Doctrine/Events] Fix bad argument name in example
@OskarStark OskarStark closed this Oct 28, 2022
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.

5 participants
0