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; } }