From 3084dee28c0c42960eb830f47267a919eda51c7c Mon Sep 17 00:00:00 2001 From: Dmitry Krokhin Date: Wed, 10 Jan 2024 21:38:20 +0300 Subject: [PATCH] put off expiration void fix --- src/TarantoolStore.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/TarantoolStore.php b/src/TarantoolStore.php index af0845f..af3a6b6 100644 --- a/src/TarantoolStore.php +++ b/src/TarantoolStore.php @@ -132,12 +132,13 @@ public function save(Key $key): void if ($tuple[1] == $this->getUniqueToken($key)) { $this->checkNotExpired($key); - return true; + return; } if ($tuple[2] < microtime(true)) { $this->delete($key, $tuple[1]); - return $this->save($key); + $this->save($key); + return; } }