Skip to content

Commit fb3d8d8

Browse files
committed
[#3330] Minor fixes
1 parent 636d20b commit fb3d8d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ by using the native PHP sessions.
653653
Storing and retrieving information from the session can be easily achieved
654654
from any controller::
655655

656-
use Symfony\Component\HttpFoundation\Response;
656+
use Symfony\Component\HttpFoundation\Request;
657657

658658
public function indexAction(Request $request)
659659
{
@@ -781,7 +781,7 @@ The Request Object
781781

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

787787
use Symfony\Component\HttpFoundation\Request;

0 commit comments

Comments
 (0)