Skip to content

Commit ab7a7c2

Browse files
committed
minor #16036 [HTTP Foundation] Improve sentence to avoid repetition (MaximePinot)
This PR was merged into the 5.3 branch. Discussion ---------- [HTTP Foundation] Improve sentence to avoid repetition ![image](https://user-images.githubusercontent.com/13469986/139455954-97e6e3e1-acf9-4524-871c-29af9e2b85dd.png) When you read the sentence without taking into account the links' destination, you get the impression that there is a duplication. (This was introduced by #14898) Commits ------- 1381c83 [HTTP Foundation] Improve sentence to avoid repetition
2 parents 411b932 + 1381c83 commit ab7a7c2

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)