Skip to content

Commit 3084dee

Browse files
authored
put off expiration void fix
1 parent 6bebac0 commit 3084dee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/TarantoolStore.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,13 @@ public function save(Key $key): void
132132

133133
if ($tuple[1] == $this->getUniqueToken($key)) {
134134
$this->checkNotExpired($key);
135-
return true;
135+
return;
136136
}
137137

138138
if ($tuple[2] < microtime(true)) {
139139
$this->delete($key, $tuple[1]);
140-
return $this->save($key);
140+
$this->save($key);
141+
return;
141142
}
142143
}
143144

0 commit comments

Comments
 (0)