8000 Fix code · symfony/symfony-docs@a9d75c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit a9d75c6

Browse files
kenjiswouterj
authored andcommitted
Fix code
1 parent 8cec82b commit a9d75c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

create_framework/templating.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ rendered::
4141

4242
function render_template($request)
4343
{
44-
extract($request->attributes->all(), EXTR_SKIP);
44+
extract($request->attributes->all());
4545
ob_start();
4646
include sprintf(__DIR__.'/../src/pages/%s.php', $_route);
4747

@@ -110,7 +110,7 @@ Here is the updated and improved version of our framework::
110110

111111
function render_template($request)
112112
{
113-
extract($request->attributes->all(), EXTR_SKIP);
113+
extract($request->attributes->all());
114114
ob_start();
115115
include sprintf(__DIR__.'/../src/pages/%s.php', $_route);
116116

0 commit comments

Comments
 (0)
0