Skip to content

Commit 8c07044

Browse files
committed
minor #10354 correct a typo in a namespace loading (bruno-ds)
This PR was merged into the 2.8 branch. Discussion ---------- 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` <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- b3ca081 correct a typo in a namespace loading
2 parents 583d2ef + b3ca081 commit 8c07044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ but usually you would simply extend the
3535
// src/Acme/HelloBundle/DependencyInjection/AcmeHelloExtension.php
3636
namespace Acme\HelloBundle\DependencyInjection;
3737

38-
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
3938
use Symfony\Component\DependencyInjection\ContainerBuilder;
39+
use Symfony\Component\DependencyInjection\Extension\Extension;
4040

4141
class AcmeHelloExtension extends Extension
4242
{

0 commit comments

Comments
 (0)