You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #49379 [DependencyInjection] Fix autowire attribute with nullable parameters (alamirault)
This PR was squashed before being merged into the 6.2 branch.
Discussion
----------
[DependencyInjection] Fix autowire attribute with nullable parameters
| Q | A
| ------------- | ---
| Branch? | 6.2
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix #49370
| License | MIT
| Doc PR | N/A
This PR fix throwing exception `Cannot autowire service "%s": argument "$%s" of method "%s()" %s, you should configure its value explicitly.` when parameter is nullable with null value.
(sorry for pinging reviewers, switching branch trigger that)
Commits
-------
75af86632b [DependencyInjection] Fix autowire attribute with nullable parameters
0 commit comments