File tree Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,7 @@ public function reduceLifetime(float $ttl)
78
78
}
79
79
80
80
/**
81
- * Returns the remaining lifetime.
82
- *
83
- * @return float|null Remaining lifetime in seconds. Null when the key won't expire.
81
+ * Returns the remaining lifetime in seconds.
84
82
*/
85
83
public function getRemainingLifetime (): ?float
86
84
{
Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ interface LockInterface
26
26
* Acquires the lock. If the lock is acquired by someone else, the parameter `blocking` determines whether or not
27
27
* the call should block until the release of the lock.
28
28
*
29
- * @return bool whether or not the lock had been acquired
30
- *
31
29
* @throws LockConflictedException If the lock is acquired by someone else in blocking mode
32
30
* @throws LockAcquiringException If the lock can not be acquired
33
31
*/
@@ -58,9 +56,7 @@ public function release();
58
56
public function isExpired (): bool ;
59
57
60
58
/**
61
- * Returns the remaining lifetime.
62
- *
63
- * @return float|null Remaining lifetime in seconds. Null when the lock won't expire.
59
+ * Returns the remaining lifetime in seconds.
64
60
*/
65
61
public function getRemainingLifetime (): ?float ;
66
62
}
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ interface SharedLockInterface extends LockInterface
25
25
* Acquires the lock for reading. If the lock is acquired by someone else in write mode, the parameter `blocking`
26
26
* determines whether or not the call should block until the release of the lock.
27
27
*
28
- * @return bool whether or not the lock had been acquired
29
- *
30
28
* @throws LockConflictedException If the lock is acquired by someone else in blocking mode
31
29
* @throws LockAcquiringException If the lock can not be acquired
32
30
*/
Original file line number Diff line number Diff line change @@ -350,8 +350,6 @@ private function createMongoDateTime(float $seconds): UTCDateTime
350
350
* Retrieves an unique token for the given key namespaced to this store.
351
351
*
352
352
* @param Key lock state container
353
- *
354
- * @return string token
355
353
*/
356
354
private function getUniqueToken (Key $ key ): string
357
355
{
You can’t perform that action at this time.
0 commit comments