Review 12.4 Merged

79821[BUGFIX] Support union types for event listeners

Oli Bartsch CR +2 V +2 Normal +40 −20 updated 07/06/23, 14:30

Commit message

Since #94345 it's possible to omit the "event"
identifier when configuring an event listener,
since the service can be resolved using reflection.
This however did until now not work when using
union types. This patch therefore adjusts the
corresponding compiler pass, making it possible
to use the same method for listing on multiple
events.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 2

Files 2

Review log 34

  1. Oli Bartsch commented on patch set 1 07/06/23, 13:57

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 07/06/23, 14:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/43750

  3. Oli Bartsch voted on patch set 1 V +2 CR +2 07/06/23, 14:30

  4. Oli Bartsch merged patch set 2 07/06/23, 14:30