8000 Merge pull request #3200 from bicpi/fix_code_example · symfony/symfony-docs@32d992a · GitHub
[go: up one dir, main page]

Skip to content

Commit 32d992a

Browse files
committed
Merge pull request #3200 from bicpi/fix_code_example
[Cookbook][Session] Fix session proxy sample code
2 parents 230c30b + ce2ef2d commit 32d992a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/session/proxy_examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ and decrypt the session as required::
3939

4040
public function read($id)
4141
{
42-
$data = parent::write($id, $data);
42+
$data = parent::read($id);
4343

4444
return mcrypt_decrypt(\MCRYPT_3DES, $this->key, $data);
4545
}

0 commit comments

Comments
 (0)
0