[Session] Document Mongo|MongoClient argument type instead of "object"

This commit is contained in:
Jeremy Mikola 2012-12-13 16:20:50 -05:00
parent de19a81107
commit 78c5273913

View File

@ -36,7 +36,7 @@ class MongoDbSessionHandler implements \SessionHandlerInterface
/**
* 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
*
* @throws \InvalidArgumentException When MongoClient or Mongo instance not provided