From e6622a8e4624e934ae02d97f76455a341e205817 Mon Sep 17 00:00:00 2001 From: Chris Boden Date: Sat, 5 Jan 2013 16:30:37 -0500 Subject: [PATCH] [Session] Fixed bug when checking instance type --- src/Ratchet/Session/Storage/VirtualSessionStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ratchet/Session/Storage/VirtualSessionStorage.php b/src/Ratchet/Session/Storage/VirtualSessionStorage.php index e583f9b..dc16388 100644 --- a/src/Ratchet/Session/Storage/VirtualSessionStorage.php +++ b/src/Ratchet/Session/Storage/VirtualSessionStorage.php @@ -73,7 +73,7 @@ class VirtualSessionStorage extends NativeSessionStorage { throw new \InvalidArgumentException('Handler must be instance of SessionHandlerInterface'); } - if (!($saveHandler instanceof \VirtualProxy)) { + if (!($saveHandler instanceof VirtualProxy)) { $saveHandler = new VirtualProxy($saveHandler); }