diff --git a/components/http_kernel/introduction.rst b/components/http_kernel/introduction.rst index eaa09d447bb..65dd1c29177 100644 --- a/components/http_kernel/introduction.rst +++ b/components/http_kernel/introduction.rst @@ -692,7 +692,7 @@ can be used to check if the current request is a "master" or "sub" request. For example, a listener that only needs to act on the master request may look like this:: - use Symfony\Component\HttpKernel\HttpKernelInterface; + use Symfony\Component\HttpKernel\Event\GetResponseEvent; // ... public function onKernelRequest(GetResponseEvent $event)