Browse Source

Set to null instead of unsetting

ADmad 11 years ago
parent
commit
933e2b7f5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Auth/Storage/MemoryStorage.php

+ 1 - 1
src/Auth/Storage/MemoryStorage.php

@@ -50,6 +50,6 @@ class MemoryStorage implements StorageInterface
      */
     public function remove()
     {
-        unset($this->_user);
+        $this->_user = null;
     }
 }