Fix CommandStartedEvent::getCommand() return type

According to https://www.php.net/manual/en/mongodb-driver-monitoring-commandstartedevent.getcommand.php, it returns an object
This commit is contained in:
Lctrs 2019-08-13 10:42:01 +02:00 committed by GitHub
parent 354161afa4
commit c4c1a3d311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1551,7 +1551,7 @@ namespace MongoDB {}
* Returns the command document
* The reply document will be converted from BSON to PHP using the default deserialization rules (e.g. BSON documents will be converted to stdClass).
* @link https://secure.php.net/manual/en/mongodb-driver-monitoring-commandstartedevent.getcommand.php
* @return string the command document as a stdClass object.
* @return object the command document as a stdClass object.
* @throws \InvalidArgumentException on argument parsing errors.
* @since 1.3.0
*/