Skip to content

Commit 707a2d0

Browse files
committed
minor #17235 Fix type in alert comment about accessing session in constructor (yguedidi)
This PR was merged into the 5.4 branch. Discussion ---------- Fix type in alert comment about accessing session in constructor <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases 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 `6.x` for features of unreleased versions). --> Commits ------- 6efbda8 Fix type in alert comment about accessing session in constructor
2 parents 279079a + 6efbda8 commit 707a2d0

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)