8000 Fix type in alert comment about accessing session in constructor · githubfromgui/symfony-docs@6efbda8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6efbda8

Browse files
authored
Fix type in alert comment about accessing session in constructor
1 parent 52d1c55 commit 6efbda8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

session.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ if you type-hint an argument with :class:`Symfony\\Component\\HttpFoundation\\Re
150150
{
151151
$this->requestStack = $requestStack;
152152

153-
// Accessing the session in the constructor is *NOT* reommended, since
153+
// Accessing the session in the constructor is *NOT* recommended, since
154154
// it might not be accessible yet or lead to unwanted side-effects
155155
// $this->session = $requestStack->getSession();
156156
}

0 commit comments

Comments
 (0)
0