Skip to content

Commit 57eca76

Browse files
committed
Minor tweak
1 parent 94030d3 commit 57eca76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

event_dispatcher.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ can also be applied to methods directly::
236236

237237
.. versionadded:: 7.4
238238

239-
The support for union types in the method type-hints was introduced in Symfony 7.4.
239+
Support for union types in the ``$event`` argument of methods using the
240+
``#[AsEventListener]`` attribute was introduced in Symfony 7.4.
240241

241242
.. _events-subscriber:
242243

0 commit comments

Comments
 (0)