Skip to content

Commit 422405e

Browse files
authored
actualize tarantool store method signature
1 parent e319df8 commit 422405e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/TarantoolStore.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function validateOptions()
5252
/**
5353
* {@inheritdoc}
5454
*/
55-
public function delete(Key $key, ?string $token = null)
55+
public function delete(Key $key, ?string $token = null): void
5656
{
5757
$arguments = [
5858
(string) $key,
@@ -95,7 +95,7 @@ public function exists(Key $key): bool
9595
/**
9696
* {@inheritdoc}
9797
*/
98-
public function putOffExpiration(Key $key, float $ttl)
98+
public function putOffExpiration(Key $key, float $ttl): void
9999
{
100100
if ($this->exists($key)) {
101101
$key->resetLifetime();
@@ -111,7 +111,7 @@ public function putOffExpiration(Key $key, float $ttl)
111111
/**
112112
* {@inheritdoc}
113113
*/
114-
public function save(Key $key)
114+
public function save(Key $key): void
115115
{
116116
$key->reduceLifetime($this->initialTtl);
117117

0 commit comments

Comments
 (0)