From b3ca0810a1e692082d8752a01a9f73266cde890b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=D0=98U=D0=AFd=20da=20silva?= Date: Mon, 17 Sep 2018 11:55:38 +0200 Subject: [PATCH] correct a typo in a namespace loading the correct namespace is not `Symfony\Component\HttpKernel\DependencyInjection\Extension` but `Symfony\Component\DependencyInjection\Extension\Extension`. The mistake is present on all versions of the doc I checked, so I propose the correction on the oldest LTS but ie the 4.2 also have the typo. If using the typo, the code still works because `Symfony\Component\HttpKernel\DependencyInjection\Extension` extends `Symfony\Component\DependencyInjection\Extension\Extension` --- bundles/extension.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/extension.rst b/bundles/extension.rst index d7627c9d426..bee1a7a5be8 100644 --- a/bundles/extension.rst +++ b/bundles/extension.rst @@ -35,8 +35,8 @@ but usually you would simply extend the // src/Acme/HelloBundle/DependencyInjection/AcmeHelloExtension.php namespace Acme\HelloBundle\DependencyInjection; - use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\ContainerBuilder; + use Symfony\Component\DependencyInjection\Extension\Extension; class AcmeHelloExtension extends Extension {