Skip to content

Commit 842e4d1

Browse files
committed
bug #25 Update part06.rst (revollat)
This PR was merged into the master branch. Discussion ---------- Update part06.rst If $request is not typed there is an error : Controller "render_template" requires that you provide a value for the "$request" argument (because there is no default value or because there is a non optional argument after this one). Commits ------- a1336e0 Update part06.rst
2 parents d802d42 + a1336e0 commit 842e4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/part06.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Let's conclude with the new version of our framework::
164164
use Symfony\Component\Routing;
165165
use Symfony\Component\HttpKernel;
166166

167-
function render_template($request)
167+
function render_template(Request $request)
168168
{
169169
extract($request->attributes->all());
170170
ob_start();

0 commit comments

Comments
 (0)