Skip to content

Commit 631d673

Browse files
committed
use a placeholder for the constructor arguments
1 parent 0649c21 commit 631d673

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)