Skip to content

Commit

Permalink
Fix wrong parameter name for MongoDB\Driver\Manager class
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus authored and isfedorov committed May 22, 2024
1 parent 8367c1c commit e4ed02e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mongodb/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ final class Manager
* Manager constructor.
* @link https://php.net/manual/en/mongodb-driver-manager.construct.php
* @param string|null $uri A mongodb:// connection URI
* @param array|null $options Connection string options
* @param array|null $uriOptions Connection string options
* @param array|null $driverOptions Any driver-specific options not included in MongoDB connection spec.
* @throws InvalidArgumentException on argument parsing errors
* @throws RuntimeException if the uri format is invalid
*/
final public function __construct(?string $uri = null, ?array $options = null, ?array $driverOptions = null) {}
final public function __construct(?string $uri = null, ?array $uriOptions = null, ?array $driverOptions = null) {}

final public function __wakeup() {}

Expand Down

0 comments on commit e4ed02e

Please sign in to comment.