Skip to content

Commit a638962

Browse files
authored
Fix: Fix typo in RegisterConnectionListener of sqlite package (#7235)
1 parent af2298f commit a638962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Listener/RegisterConnectionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function createPersistentPdoResolver($connection, $config)
5454
return function () use ($config, $connection) {
5555
/** @var \Hyperf\Contract\ContainerInterface $container */
5656
$container = ApplicationContext::getContainer();
57-
$key = "sqlite.presistent.pdo.{$config['name']}";
57+
$key = "sqlite.persistent.pdo.{$config['name']}";
5858

5959
if (! $container->has($key)) {
6060
$container->set($key, call_user_func($connection));

0 commit comments

Comments
 (0)