Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 63e4a8d

Browse files
dave1010weaverryan
authored andcommitted
Fix PHP syntax error in HttpKernel component working example
Extra comma after method argument removed.
1 parent aaf9985 commit 63e4a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_kernel/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ a built-in ControllerResolver that can be used to create a working example::
614614
'_controller' => function (Request $request) {
615615
return new Response(sprintf("Hello %s", $request->get('name')));
616616
}
617-
),
617+
)
618618
));
619619

620620
$request = Request::createFromGlobals();

0 commit comments

Comments
 (0)