Skip to content

Commit 85075fc

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: [Event Dispatcher] Fix typo for __invoke()
2 parents e9dc82f + d25d246 commit 85075fc

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)