From 4129e8ece169f80d10741eb2baf2b7ab5af1fb6a Mon Sep 17 00:00:00 2001 From: jmsche Date: Mon, 16 Nov 2020 11:20:31 +0100 Subject: [PATCH] [Event Dispatcher] Fix typo for __invoke() --- event_dispatcher.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event_dispatcher.rst b/event_dispatcher.rst index c7fa7b7d905..3462659efb5 100644 --- a/event_dispatcher.rst +++ b/event_dispatcher.rst @@ -122,7 +122,7 @@ listener class: the ``kernel.exception`` event); #. If that method is not defined either, try to call the ``__invoke()`` magic method (which makes event listeners invokable); -#. If the ``_invoke()`` method is not defined either, throw an exception. +#. If the ``__invoke()`` method is not defined either, throw an exception. .. note::