From 1381c83b1b6e6a723a8052281caddbf3dae18935 Mon Sep 17 00:00:00 2001 From: Maxime Pinot Date: Fri, 29 Oct 2021 16:46:11 +0200 Subject: [PATCH] [HTTP Foundation] Improve sentence to avoid repetition --- components/http_foundation.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/http_foundation.rst b/components/http_foundation.rst index 3df8d5c9c94..a66baa7609d 100644 --- a/components/http_foundation.rst +++ b/components/http_foundation.rst @@ -252,8 +252,10 @@ Accessing the Session ~~~~~~~~~~~~~~~~~~~~~ If you have a session attached to the request, you can access it via the -:method:`Symfony\\Component\\HttpFoundation\\Request::getSession` method or the -:method:`Symfony\\Component\\HttpFoundation\\RequestStack::getSession` method; +:method:`Symfony\\Component\\HttpFoundation\\Request::getSession` method +from the :class:`Symfony\\Component\\HttpFoundation\\Request` class or the +:method:`Symfony\\Component\\HttpFoundation\\RequestStack::getSession` method +from the :class:`Symfony\\Component\\HttpFoundation\\RequestStack` class; the :method:`Symfony\\Component\\HttpFoundation\\Request::hasPreviousSession` method tells you if the request contains a session which was started in one of