8000 minor #3890 [Components][HttpFoundation] use a placeholder for the co… · symfony/symfony-docs@16e346a · GitHub
[go: up one dir, main page]

Skip to content

Commit 16e346a

Browse files
committed
minor #3890 [Components][HttpFoundation] use a placeholder for the constructor arguments (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Components][HttpFoundation] use a placeholder for the constructor arguments | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | As suggested by @wouterj in #3869. Commits ------- 631d673 use a placeholder for the constructor arguments
2 parents 0da6508 + 631d673 commit 16e346a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_foundation/session_configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Example usage::
8383
use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;
8484
use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler;
8585

86-
$pdo = new \PDO('mysql:dbname=testdb;host=127.0.0.1');
86+
$pdo = new \PDO(...);
8787
$storage = new NativeSessionStorage(array(), new PdoSessionHandler($pdo));
8888
$session = new Session($storage);
8989

0 commit comments

Comments
 (0)
0