Skip to content

Commit 7cd7b81

Browse files
committed
minor #14553 [EventDispatcher] [Event Dispatcher] Fix typo for __invoke() (jmsche)
This PR was submitted for the 5.x branch but it was merged into the 4.4 branch instead. Discussion ---------- [EventDispatcher] [Event Dispatcher] Fix typo for __invoke() Commits ------- 4129e8e [Event Dispatcher] Fix typo for __invoke()
2 parents 67e00d3 + 4129e8e commit 7cd7b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ listener class:
122122
the ``kernel.exception`` event);
123123
#. If that method is not defined either, try to call the ``__invoke()`` magic
124124
method (which makes event listeners invokable);
125-
#. If the ``_invoke()`` method is not defined either, throw an exception.
125+
#. If the ``__invoke()`` method is not defined either, throw an exception.
126126

127127
.. note::
128128

0 commit comments

Comments
 (0)