8000 minor #32990 [Lock] remove un-needed implements interface (B-Galati) · symfony/symfony@d65189f · GitHub
[go: up one dir, main page]

Skip to content

Commit d65189f

Browse files
minor #32990 [Lock] remove un-needed implements interface (B-Galati)
This PR was merged into the 5.0-dev branch. Discussion ---------- [Lock] remove un-needed implements interface | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | null | License | MIT | Doc PR | not needed following #32555 it does not look necessary to implement both `PersistingStoreInterface` and `BlockingStoreInterface` Commits ------- b8459f7 [Lock] remove un-needed implements interface
2 parents 2937f30 + b8459f7 commit d65189f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Lock/Store/FlockStore.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Symfony\Component\Lock\Exception\LockConflictedException;
1717
use Symfony\Component\Lock\Exception\LockStorageException;
1818
use Symfony\Component\Lock\Key;
19-
use Symfony\Component\Lock\PersistingStoreInterface;
2019

2120
/**
2221
* FlockStore is a PersistingStoreInterface implementation using the FileSystem flock.
@@ -28,7 +27,7 @@
2827
* @author Romain Neutron <imprec@gmail.com>
2928
* @author Nicolas Grekas <p@tchwork.com>
3029
*/
31-
class FlockStore implements PersistingStoreInterface, BlockingStoreInterface
30+
class FlockStore implements BlockingStoreInterface
3231
{
3332
private $lockPath;
3433

0 commit comments

Comments
 (0)
0