Skip to content

Commit 31f1e36

Browse files
committed
minor symfony#9626 FIX : accessing global variable tokenStorage (luxferoo)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes symfony#9626). Discussion ---------- FIX : accessing global variable tokenStorage Global variable tokenStorage needs '$this->' to get accessed correctly Commits ------- 42d7bfd FIX : accessing global variable tokenStorage
2 parents 84cb4e9 + 42d7bfd commit 31f1e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

session/proxy_examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ can intercept the session before it is written::
134134

135135
private function getUser()
136136
{
137-
if (!$token = $tokenStorage->getToken()) {
137+
if (!$token = $this->tokenStorage->getToken()) {
138138
return;
139139
}
140140

0 commit comments

Comments
 (0)