Skip to content

Commit df7c992

Browse files
committed
[Lock] remove uusage of the StoreInterface
1 parent 52e9fb9 commit df7c992

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ private function registerLockConfiguration(array $config, ContainerBuilder $cont
16001600
$container->setDefinition($connectionDefinitionId, $connectionDefinition);
16011601
}
16021602

1603-
$storeDefinition = new Definition(StoreInterface::class);
1603+
$storeDefinition = new Definition(PersistStoreInterface::class);
16041604
$storeDefinition->setPublic(false);
16051605
$storeDefinition->setFactory([StoreFactory::class, 'createStore']);
16061606
$storeDefinition->setArguments([new Reference($connectionDefinitionId)]);

src/Symfony/Component/Lock/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Factory implements LoggerAwareInterface
2828

2929
private $store;
3030

31-
public function __construct(StoreInterface $store)
31+
public function __construct(PersistStoreInterface $store)
3232
{
3333
$this->store = $store;
3434

0 commit comments

Comments
 (0)