Browse Source

using dynamic invocation instead of static

Mark Magyar 2 years ago
parent
commit
db3c9fb942
1 changed files with 1 additions and 1 deletions
  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;
     }