File tree 2 files changed +2
-2
lines changed
HttpFoundation/Session/Storage/Handler 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public static function createHandler($connection): AbstractSessionHandler
54
54
case 0 === strpos ($ connection , 'rediss:// ' ):
55
55
case 0 === strpos ($ connection , 'memcached:// ' ):
56
56
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 ));
58
58
}
59
59
$ handlerClass = 0 === strpos ($ connection , 'memcached:// ' ) ? MemcachedSessionHandler::class : RedisSessionHandler::class;
60
60
$ connection = AbstractAdapter::createConnection ($ connection , ['lazy ' => true ]);
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public static function createStore($connection)
70
70
case 0 === strpos ($ connection , 'rediss:// ' ):
71
71
case 0 === strpos ($ connection , 'memcached:// ' ):
72
72
if (!class_exists (AbstractAdapter::class)) {
73
- throw new InvalidArgumentException (sprintf ('Unsupported DSN "%s". Try running "composer require symfony/cache". ' , $ this -> dsn ));
73
+ throw new InvalidArgumentException (sprintf ('Unsupported DSN "%s". Try running "composer require symfony/cache". ' , $ connection ));
74
74
}
75
75
$ storeClass = 0 === strpos ($ connection , 'memcached:// ' ) ? MemcachedStore::class : RedisStore::class;
76
76
$ connection = AbstractAdapter::createConnection ($ connection , ['lazy ' => true ]);
You can’t perform that action at this time.
0 commit comments