Skip to content

Commit 1381c83

Browse files
authored
[HTTP Foundation] Improve sentence to avoid repetition
1 parent 411b932 commit 1381c83

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

components/http_foundation.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,10 @@ Accessing the Session
252252
~~~~~~~~~~~~~~~~~~~~~
253253

254254
If you have a session attached to the request, you can access it via the
255-
:method:`Symfony\\Component\\HttpFoundation\\Request::getSession` method or the
256-
:method:`Symfony\\Component\\HttpFoundation\\RequestStack::getSession` method;
255+
:method:`Symfony\\Component\\HttpFoundation\\Request::getSession` method
256+
from the :class:`Symfony\\Component\\HttpFoundation\\Request` class or the
257+
:method:`Symfony\\Component\\HttpFoundation\\RequestStack::getSession` method
258+
from the :class:`Symfony\\Component\\HttpFoundation\\RequestStack` class;
257259
the
258260
:method:`Symfony\\Component\\HttpFoundation\\Request::hasPreviousSession`
259261
method tells you if the request contains a session which was started in one of

0 commit comments

Comments
 (0)