Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d25d246

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: [Event Dispatcher] Fix typo for __invoke()
2 parents 486b367 + 7cd7b81 commit d25d246

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)