[Session] Fixed bug when checking instance type
This commit is contained in:
parent
e7887a4b17
commit
e6622a8e46
@ -73,7 +73,7 @@ class VirtualSessionStorage extends NativeSessionStorage {
|
|||||||
throw new \InvalidArgumentException('Handler must be instance of SessionHandlerInterface');
|
throw new \InvalidArgumentException('Handler must be instance of SessionHandlerInterface');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!($saveHandler instanceof \VirtualProxy)) {
|
if (!($saveHandler instanceof VirtualProxy)) {
|
||||||
$saveHandler = new VirtualProxy($saveHandler);
|
$saveHandler = new VirtualProxy($saveHandler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user