Skip to content

Commit

Permalink
actualize tarantool store method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa authored Jan 10, 2024
1 parent e319df8 commit 422405e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TarantoolStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected function validateOptions()
/**
* {@inheritdoc}
*/
public function delete(Key $key, ?string $token = null)
public function delete(Key $key, ?string $token = null): void
{
$arguments = [
(string) $key,
Expand Down Expand Up @@ -95,7 +95,7 @@ public function exists(Key $key): bool
/**
* {@inheritdoc}
*/
public function putOffExpiration(Key $key, float $ttl)
public function putOffExpiration(Key $key, float $ttl): void
{
if ($this->exists($key)) {
$key->resetLifetime();
Expand All @@ -111,7 +111,7 @@ public function putOffExpiration(Key $key, float $ttl)
/**
* {@inheritdoc}
*/
public function save(Key $key)
public function save(Key $key): void
{
$key->reduceLifetime($this->initialTtl);

Expand Down

0 comments on commit 422405e

Please sign in to comment.