Skip to content

Commit 39da837

Browse files
committed
minor #11543 Fix php config example for hinclude_default_template (andrew-demb)
This PR was merged into the master branch. Discussion ---------- Fix php config example for hinclude_default_template In PHP example used the wrong type for parameter - `array`, instead of a correct `string`. Other config examples are not affected. Commits ------- cccf79c Fix php config example for hinclude_default_template
1 parent db96080 commit 39da837

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

templating/hinclude.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ in your application configuration:
9393
$container->loadFromExtension('framework', [
9494
// ...
9595
'templating' => [
96-
'hinclude_default_template' => [
97-
'hinclude.html.twig',
98-
],
96+
'hinclude_default_template' => 'hinclude.html.twig',
9997
],
10098
]);
10199

0 commit comments

Comments
 (0)