From 729a01909d23688e96ec9ccef380d93dc459979d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20TAMARELLE?= Date: Tue, 19 Oct 2021 16:25:16 +0200 Subject: [PATCH] [Lock] Fix incorrect return type in PostgreSqlStore --- src/Symfony/Component/Lock/Store/PostgreSqlStore.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Lock/Store/PostgreSqlStore.php b/src/Symfony/Component/Lock/Store/PostgreSqlStore.php index 9fdbe94bac2ba..0e472d2c82717 100644 --- a/src/Symfony/Component/Lock/Store/PostgreSqlStore.php +++ b/src/Symfony/Component/Lock/Store/PostgreSqlStore.php @@ -18,7 +18,7 @@ use Symfony\Component\Lock\Exception\InvalidArgumentException; use Symfony\Component\Lock\Exception\LockConflictedException; use Symfony\Component\Lock\Key; -use Symfony\Component\Lock\PersistingStoreInterface; +use Symfony\Component\Lock\SharedLockStoreInterface; /** * PostgreSqlStore is a PersistingStoreInterface implementation using @@ -276,7 +276,7 @@ private function checkDriver(): void } } - private function getInternalStore(): PersistingStoreInterface + private function getInternalStore(): SharedLockStoreInterface { $namespace = spl_object_hash($this->getConnection());