瀏覽代碼

using dynamic invocation instead of static

Mark Magyar 2 年之前
父節點
當前提交
db3c9fb942
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Protocols/Http/Session.php

+ 1 - 1
src/Protocols/Http/Session.php

@@ -320,7 +320,7 @@ class Session
                 static::$handler->write($this->sessionId, serialize($this->data));
             }
         } elseif (static::$autoUpdateTimestamp) {
-            static::refresh();
+            $this->refresh();
         }
         $this->needSave = false;
     }