From 76085f62c57fdc15c9f4de2077e0dc3942e42823 Mon Sep 17 00:00:00 2001 From: Andrey Astakhov Date: Sat, 10 Dec 2016 21:22:03 +0100 Subject: [PATCH] Fixed the signature of prepend method in the code example `PrependExtensionInterface::prepend` has one parameter: `$container`. From the current example it is not clear how `$container` appeared in the method body. Anyway, it is better to have here correct code examples. --- components/dependency_injection/compilation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dependency_injection/compilation.rst b/components/dependency_injection/compilation.rst index e7bb7bfe2d2..ad7bf320255 100644 --- a/components/dependency_injection/compilation.rst +++ b/components/dependency_injection/compilation.rst @@ -292,7 +292,7 @@ method is called by implementing { // ... - public function prepend() + public function prepend(ContainerBuilder $container) { // ...