File tree 1 file changed +2
-1
lines changed
Filter options
1 file changed +2
-1
lines changed
Original file line number Diff line number Diff line change 23
23
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
24
24
use Symfony \Bundle \FrameworkBundle \Controller \Controller ;
25
25
use Symfony \Bundle \FrameworkBundle \Routing \AnnotatedRouteControllerLoader ;
26
+ use Symfony \Component \Cache \Adapter \AbstractAdapter ;
26
27
use Symfony \Component \Cache \Adapter \AdapterInterface ;
27
28
use Symfony \Component \Cache \Adapter \ArrayAdapter ;
28
29
use Symfony \Component \Cache \ResettableInterface ;
@@ -1706,7 +1707,7 @@ private function registerLockConfiguration(array $config, ContainerBuilder $cont
1706
1707
if (!$ container ->hasDefinition ($ connectionDefinitionId = $ container ->hash ($ storeDsn ))) {
1707
1708
$ connectionDefinition = new Definition (\stdClass::class);
1708
1709
$ connectionDefinition ->setPublic (false );
1709
- $ connectionDefinition ->setFactory (array (StoreFactory ::class, 'createConnection ' ));
1710
+ $ connectionDefinition ->setFactory (array (AbstractAdapter ::class, 'createConnection ' ));
1710
1711
$ connectionDefinition ->setArguments (array ($ storeDsn ));
1711
1712
$ container ->setDefinition ($ connectionDefinitionId , $ connectionDefinition );
1712
1713
}
You can’t perform that action at this time.
0 commit comments