Skip to content

Commit e27325f

Browse files
wimgnicolas-grekas
authored andcommitted
[HttpFoundation][Lock] Connection parameter corrected
1 parent 2c367a6 commit e27325f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Session/Storage/Handler/SessionHandlerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static function createHandler($connection): AbstractSessionHandler
5454
case 0 === strpos($connection, 'rediss://'):
5555
case 0 === strpos($connection, 'memcached://'):
5656
if (!class_exists(AbstractAdapter::class)) {
57-
throw new InvalidArgumentException(sprintf('Unsupported DSN "%s". Try running "composer require symfony/cache".', $this->dsn));
57+
throw new InvalidArgumentException(sprintf('Unsupported DSN "%s". Try running "composer require symfony/cache".', $storage));
5858
}
5959
$handlerClass = 0 === strpos($connection, 'memcached://') ? MemcachedSessionHandler::class : RedisSessionHandler::class;
6060
$connection = AbstractAdapter::createConnection($connection, ['lazy' => true]);

0 commit comments

Comments
 (0)