minor #25431 [Lock] Fix incorrect phpdoc (chalasr)
This PR was merged into the 3.4 branch.
Discussion
----------
[Lock] Fix incorrect phpdoc
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Bad copy-pastes, spotted in #25421
Commits
-------
8be950f3a4
[Lock] Fix incorrect phpdoc
This commit is contained in:
commit
eff904e314
@ -24,8 +24,6 @@ interface StoreInterface
|
||||
/**
|
||||
* Stores the resource if it's not locked by someone else.
|
||||
*
|
||||
* @param Key $key key to lock
|
||||
*
|
||||
* @throws LockConflictedException
|
||||
*/
|
||||
public function save(Key $key);
|
||||
@ -35,8 +33,6 @@ interface StoreInterface
|
||||
*
|
||||
* If the store does not support this feature it should throw a NotSupportedException.
|
||||
*
|
||||
* @param Key $key key to lock
|
||||
*
|
||||
* @throws LockConflictedException
|
||||
* @throws NotSupportedException
|
||||
*/
|
||||
@ -47,7 +43,6 @@ interface StoreInterface
|
||||
*
|
||||
* If the store does not support this feature it should throw a NotSupportedException.
|
||||
*
|
||||
* @param Key $key key to lock
|
||||
* @param float $ttl amount of second to keep the lock in the store
|
||||
*
|
||||
* @throws LockConflictedException
|
||||
@ -57,16 +52,12 @@ interface StoreInterface
|
||||
|
||||
/**
|
||||
* Removes a resource from the storage.
|
||||
*
|
||||
* @param Key $key key to remove
|
||||
*/
|
||||
public function delete(Key $key);
|
||||
|
||||
/**
|
||||
* Returns whether or not the resource exists in the storage.
|
||||
*
|
||||
* @param Key $key key to remove
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function exists(Key $key);
|
||||
|
Reference in New Issue
Block a user