[HttpFoundation][Session] Cleaned up constructor invokation
This commit is contained in:
parent
b07fb3c459
commit
22be49932f
@ -341,7 +341,7 @@ class NativeSessionStorage implements SessionStorageInterface
|
|||||||
if (!$saveHandler instanceof AbstractProxy && $saveHandler instanceof \SessionHandlerInterface) {
|
if (!$saveHandler instanceof AbstractProxy && $saveHandler instanceof \SessionHandlerInterface) {
|
||||||
$saveHandler = new SessionHandlerProxy($saveHandler);
|
$saveHandler = new SessionHandlerProxy($saveHandler);
|
||||||
} elseif (!$saveHandler instanceof AbstractProxy) {
|
} elseif (!$saveHandler instanceof AbstractProxy) {
|
||||||
$saveHandler = new NativeProxy($saveHandler);
|
$saveHandler = new NativeProxy();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->saveHandler = $saveHandler;
|
$this->saveHandler = $saveHandler;
|
||||||
|
Reference in New Issue
Block a user