Skip to content

Commit 18b2db6

Browse files
committed
[Lock] Fix incorrect return type in PostgreSqlStore
1 parent 3276c00 commit 18b2db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Store/PostgreSqlStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Symfony\Component\Lock\Exception\InvalidArgumentException;
1919
use Symfony\Component\Lock\Exception\LockConflictedException;
2020
use Symfony\Component\Lock\Key;
21-
use Symfony\Component\Lock\PersistingStoreInterface;
21+
use Symfony\Component\Lock\SharedLockStoreInterface;
2222

2323
/**
2424
* PostgreSqlStore is a PersistingStoreInterface implementation using
@@ -276,7 +276,7 @@ private function checkDriver(): void
276276
}
277277
}
278278

279-
private function getInternalStore(): PersistingStoreInterface
279+
private function getInternalStore(): SharedLockStoreInterface
280280
{
281281
$namespace = spl_object_hash($this->getConnection());
282282

0 commit comments

Comments
 (0)