Skip to content

Commit 0905395

Browse files
committed
Fix code
1 parent 8cec82b commit 0905395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_framework/http-kernel-controller-resolver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Let's conclude with the new version of our framework::
160160

161161
function render_template(Request $request)
162162
{
163-
extract($request->attributes->all());
163+
extract($request->attributes->all(), EXTR_SKIP);
164164
ob_start();
165165
include sprintf(__DIR__.'/../src/pages/%s.php', $_route);
166166

0 commit comments

Comments
 (0)