Skip to content

Commit 4129e8e

Browse files
jmschejaviereguiluz
authored andcommitted
[Event Dispatcher] Fix typo for __invoke()
1 parent 67e00d3 commit 4129e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

event_dispatcher.rst

+1-1
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)