Skip to content

Commit 9f77757

Browse files
a-astxabbuh
authored andcommitted
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.
1 parent eff74e0 commit 9f77757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dependency_injection/compilation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ method is called by implementing
292292
{
293293
// ...
294294

295-
public function prepend()
295+
public function prepend(ContainerBuilder $container)
296296
{
297297
// ...
298298

0 commit comments

Comments
 (0)