Skip to content

[HttpKernel] Fix message for unresovable arguments of invokable controllers #48273

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

Merged

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Before:

Could not resolve argument $logger of "app\controller\foocontroller()", maybe you ...

After:

Could not resolve argument $logger of "App\Controller\FooController::__invoke()", maybe you ...

@fabpot
Copy link
Member

fabpot commented Nov 22, 2022

Thank you @fancyweb.

@fabpot fabpot merged commit 51cdc3a into symfony:4.4 Nov 22, 2022
@fancyweb fancyweb deleted the http-kernel/fix-not-tagged-invokable-controller branch November 22, 2022 08:09
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