@@ -24,8 +24,6 @@ interface StoreInterface
24
24
/**
25
25
* Stores the resource if it's not locked by someone else.
26
26
*
27
- * @param Key $key key to lock
28
- *
29
27
* @throws LockConflictedException
30
28
*/
31
29
public function save (Key $ key );
@@ -35,8 +33,6 @@ public function save(Key $key);
35
33
*
36
34
* If the store does not support this feature it should throw a NotSupportedException.
37
35
*
38
- * @param Key $key key to lock
39
- *
40
36
* @throws LockConflictedException
41
37
* @throws NotSupportedException
42
38
*/
@@ -47,7 +43,6 @@ public function waitAndSave(Key $key);
47
43
*
48
44
* If the store does not support this feature it should throw a NotSupportedException.
49
45
*
50
- * @param Key $key key to lock
51
46
* @param float $ttl amount of second to keep the lock in the store
52
47
*
53
48
* @throws LockConflictedException
@@ -57,16 +52,12 @@ public function putOffExpiration(Key $key, $ttl);
57
52
58
53
/**
59
54
* Removes a resource from the storage.
60
- *
61
- * @param Key $key key to remove
62
55
*/
63
56
public function delete (Key $ key );
64
57
65
58
/**
66
59
* Returns whether or not the resource exists in the storage.
67
60
*
68
- * @param Key $key key to remove
69
- *
70
61
* @return bool
71
62
*/
72
63
public function exists (Key $ key );
0 commit comments