Review main Merged

73014[TASK] Avoid resolving first optional argument as content overrule

Stefan Bürk CR +2 V +2 Normal +101 −5 updated 01/19/22, 07:04

Commit message

Trait 'CompileWithContentArgumentAndRenderStatic' provides
magic handling trying to retrieve the first optional
registered argument as render children closure.
This can alse be set to property $contentArgumentName,
which is documented as recommended in the trait to
suppress magic.

The patch sets property $contentArgumentName to the
currently first optional argument in all ViewHelpers
by overriding traits 'resolveContentArgumentName()'.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 12