Skip to content

Commit

Permalink
[#3330] Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Dec 26, 2013
1 parent 636d20b commit fb3d8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ by using the native PHP sessions.
Storing and retrieving information from the session can be easily achieved
from any controller::

use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;

public function indexAction(Request $request)
{
Expand Down Expand Up @@ -781,7 +781,7 @@ The Request Object

Besides the values of the routing placeholders, the controller also has access
to the ``Request`` object. The framework injects the ``Request`` object in the
controller if a variable is type hinted with
controller if a variable is type-hinted with
`Symfony\Component\HttpFoundation\Request`::

use Symfony\Component\HttpFoundation\Request;
Expand Down

0 comments on commit fb3d8d8

Please # to comment.