8000 minor #25431 [Lock] Fix incorrect phpdoc (chalasr) · symfony/symfony@eff904e · GitHub
[go: up one dir, main page]

Skip to content

Commit eff904e

Browse files
committed
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 ------- 8be950f [Lock] Fix incorrect phpdoc
2 parents 9666876 + 8be950f commit eff904e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/Symfony/Component/Lock/StoreInterface.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ interface StoreInterface
2424
/**
2525
* Stores the resource if it's not locked by someone else.
2626
*
27-
* @param Key $key key to lock
28-
*
2927
* @throws LockConflictedException
3028
*/
3129
public function save(Key $key);
@@ -35,8 +33,6 @@ public function save(Key $key);
3533
*
3634
* If the store does not support this feature it should throw a NotSupportedException.
3735
*
38-
* @param Key $key key to lock
39-
*
4036
* @throws LockConflictedException
4137
* @throws NotSupportedException
4238
*/
@@ -47,7 +43,6 @@ public function waitAndSave(Key $key);
4743
*
4844
* If the store does not support this feature it should throw a NotSupportedException.
4945
*
50-
* @param Key $key key to lock
5146
* @param float $ttl amount of second to keep the lock in the store
5247
*
5348
* @throws LockConflictedException
@@ -57,16 +52,12 @@ public function putOffExpiration(Key $key, $ttl);
5752

5853
/**
5954
* Removes a resource from the storage.
60-
*
61-
* @param Key $key key to remove
6255
*/
6356
public function delete(Key $key);
6457

6558
/**
6659
* Returns whether or not the resource exists in the storage.
6760
*
68-
* @param Key $key key to remove
69-
*
7061
* @return bool
7162
*/
7263
public function exists(Key $key);

0 commit comments

Comments
 (0)
0