File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ This controller is pretty straightforward:
9393
9494* *line 12 *: Each action method in a controller class is suffixed with ``Action ``
9595 (again, this isn't *required *, but some shortcuts rely on this). This method
96- is allowed to have a ``$name `` argument thanks to the ``{name } ``
96+ is allowed to have a ``$max `` argument thanks to the ``{max } ``
9797 :doc: `wildcard in the route </routing >`.
9898
9999* *line 16 *: The controller creates and returns a ``Response `` object.
@@ -327,7 +327,7 @@ The Request object as a Controller Argument
327327What if you need to read query parameters, grab a request header or get access
328328to an uploaded file? All of that information is stored in Symfony's ``Request ``
329329object. To get it in your controller, just add it as an argument and
330- **type-hint it with the `` Request` ` class **::
330+ **type-hint it with the :class:`Symfony \\ Component \\ HttpFoundation \\ Request` class **::
331331
332332 use Symfony\Component\HttpFoundation\Request;
333333
You can’t perform that action at this time.
0 commit comments