Issue #3617864: TemplateForm and TemplateDeleteForm typehint concrete Messenger class, breaking decorated messenger services

Typehints MessengerInterface instead of the concrete Messenger class in TemplateForm and TemplateDeleteForm, so decorated/replaced messenger services no longer throw a TypeError.

No behavioural change — both forms only call addMessage() / addStatus(), both declared on MessengerInterface.

See #3617864 for reproduction and precedent (#2852828 in this module, entity_clone #3246560).

Merge request reports

Loading