Skip to content

Commit

Permalink
Fix: Fix typo in RegisterConnectionListener of sqlite package (#7235)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht authored Jan 8, 2025
1 parent af2298f commit a638962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/RegisterConnectionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function createPersistentPdoResolver($connection, $config)
return function () use ($config, $connection) {
/** @var \Hyperf\Contract\ContainerInterface $container */
$container = ApplicationContext::getContainer();
$key = "sqlite.presistent.pdo.{$config['name']}";
$key = "sqlite.persistent.pdo.{$config['name']}";

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

0 comments on commit a638962

Please sign in to comment.