minor #17652 [DependencyInjection] Remove unused parameter (dunglas)
minor #17652 [DependencyInjection] Remove unused parameter (dunglas)

This PR was squashed before being merged into the 3.0 branch (closes #17652).

Discussion
----------

[DependencyInjection] Remove unused parameter

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

1a58639 [DependencyInjection] Remove unused parameter

symfony/DependencyInjection,symfony/dependency-injection