Skip to content

Commit d9b74dc

Browse files
committed
minor symfony#7240 Fixed the signature of prepend method in the code example (a-ast)
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes symfony#7240). Discussion ---------- 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. Commits ------- 9f77757 Fixed the signature of prepend method in the code example
2 parents eff74e0 + 9f77757 commit d9b74dc

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)