Skip to content

Commit af8c205

Browse files
committed
minor #15372 [Session] Fix handler import (sebpacz)
This PR was merged into the 5.2 branch. Discussion ---------- [Session] Fix handler import I found two examples where PdoSessionHandler is imported instead of MongoDbSessionHandler. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 47c0259 [Session] Fix handler import
2 parents 2e8ce29 + 47c0259 commit af8c205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

session/database.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ the MongoDB connection as argument:
487487
// config/services.php
488488
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
489489
490-
use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler;
490+
use Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler;
491491
492492
return static function (ContainerConfigurator $container) {
493493
$services = $configurator->services();
@@ -596,7 +596,7 @@ configure these values with the second argument passed to the
596596
// config/services.php
597597
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
598598
599-
use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler;
599+
use Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler;
600600
601601
return static function (ContainerConfigurator $container) {
602602
$services = $configurator->services();

0 commit comments

Comments
 (0)