Skip to content

Standardize the name of the container configurator variable #17381

Closed
@javiereguiluz

Description

@javiereguiluz

I think this issue was mentioned by @ThomasLandauer in the past, and I was sure that we already had fixed it ... but I was wrong 😞

We use different variable names for similar code examples:

(1) return function(ContainerConfigurator $container) {

(2) return function(ContainerConfigurator $configurator) {

(3) return function(ContainerConfigurator $containerConfigurator) {

(3) is very rarely used, but (1) and (2) are used about the same ~50%.

So, which is your preferred variable name so we can always use the same for all code examples? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions