File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,13 @@ public function onKernelRequest(GetResponseEvent $event)
53
53
return ;
54
54
}
55
55
56
- $ session = null ;
57
56
$ request = $ event ->getRequest ();
58
57
if (!$ request ->hasSession ()) {
59
58
$ sess = null ;
60
59
$ request ->setSessionFactory (function () use (&$ sess ) { return $ sess ?? $ sess = $ this ->getSession (); });
61
60
}
62
61
63
- $ session = $ session ?? ( $ this ->container && $ this ->container ->has ('initialized_session ' ) ? $ this ->container ->get ('initialized_session ' ) : null ) ;
62
+ $ session = $ this ->container && $ this ->container ->has ('initialized_session ' ) ? $ this ->container ->get ('initialized_session ' ) : null ;
64
63
$ this ->sessionUsageStack [] = $ session instanceof Session ? $ session ->getUsageIndex () : 0 ;
65
64
}
66
65
You can’t perform that action at this time.
0 commit comments