From 6efbda8501098c3f38f64afeb01f9a59c74227ce Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sat, 27 Aug 2022 00:26:46 +0200 Subject: [PATCH] Fix type in alert comment about accessing session in constructor --- session.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session.rst b/session.rst index 9ee5ebea31e..c4c6714c226 100644 --- a/session.rst +++ b/session.rst @@ -150,7 +150,7 @@ if you type-hint an argument with :class:`Symfony\\Component\\HttpFoundation\\Re { $this->requestStack = $requestStack; - // Accessing the session in the constructor is *NOT* reommended, since + // Accessing the session in the constructor is *NOT* recommended, since // it might not be accessible yet or lead to unwanted side-effects // $this->session = $requestStack->getSession(); }