Skip to content

Commit 935fed8

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: [HTTP Foundation] Improve sentence to avoid repetition
2 parents b41319b + 8df9ed2 commit 935fed8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

components/http_foundation.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,9 @@ 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;
257-
the
258-
:method:`Symfony\\Component\\HttpFoundation\\Request::hasPreviousSession`
255+
``getSession()`` method of the :class:`Symfony\\Component\\HttpFoundation\\Request`
256+
or :class:`Symfony\\Component\\HttpFoundation\\RequestStack` class;
257+
the :method:`Symfony\\Component\\HttpFoundation\\Request::hasPreviousSession`
259258
method tells you if the request contains a session which was started in one of
260259
the previous requests.
261260

0 commit comments

Comments
 (0)