Skip to content

Commit d5aaebe

Browse files
committed
minor #10804 Fix errors in Session methods links (makmaoui)
This PR was submitted for the 4.2 branch but it was merged into the 4.1 branch instead (closes #10804). Discussion ---------- Fix errors in Session methods links <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 3367cba Fix errors in Session methods links
2 parents 911190d + 3367cba commit d5aaebe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/http_foundation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,10 @@ method tells you if the request contains a session which was started in one of
243243
the previous requests.
244244

245245
.. versionadded:: 4.1
246-
Using :method:`Symfony\\Component\\HttpFoundation\\Request::getSession()`
246+
Using :method:`Symfony\\Component\\HttpFoundation\\Request::getSession`
247247
when no session has been set was deprecated in Symfony 4.1. It will throw
248248
an exception in Symfony 5.0 when the session is ``null``. Check for an existing session
249-
first by calling :method:`Symfony\\Component\\HttpFoundation\\Request::hasSession()`.
249+
first by calling :method:`Symfony\\Component\\HttpFoundation\\Request::hasSession`.
250250

251251
Processing HTTP Headers
252252
~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)