0x02 -> \MongoBinData::BYTE_ARRAY
This commit is contained in:
parent
70a64bd7cf
commit
ac0fb48496
@ -104,7 +104,7 @@ class MongoDbSessionHandler implements \SessionHandlerInterface
|
|||||||
{
|
{
|
||||||
$data = array(
|
$data = array(
|
||||||
$this->options['id_field'] => $sessionId,
|
$this->options['id_field'] => $sessionId,
|
||||||
$this->options['data_field'] => new \MongoBinData($data, 0x02),
|
$this->options['data_field'] => new \MongoBinData($data, \MongoBinData::BYTE_ARRAY),
|
||||||
$this->options['time_field'] => new \MongoTimestamp()
|
$this->options['time_field'] => new \MongoTimestamp()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user