[Session] Document Mongo|MongoClient argument type instead of "object"
This commit is contained in:
parent
de19a81107
commit
78c5273913
@ -36,8 +36,8 @@ class MongoDbSessionHandler implements \SessionHandlerInterface
|
|||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param object $mongo A MongoClient or Mongo instance
|
* @param \Mongo|\MongoClient $mongo A MongoClient or Mongo instance
|
||||||
* @param array $options An associative array of field options
|
* @param array $options An associative array of field options
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException When MongoClient or Mongo instance not provided
|
* @throws \InvalidArgumentException When MongoClient or Mongo instance not provided
|
||||||
* @throws \InvalidArgumentException When "database" or "collection" not provided
|
* @throws \InvalidArgumentException When "database" or "collection" not provided
|
||||||
|
Reference in New Issue
Block a user