1616 * Connection represents a connection to a MongoDb server.
1717 *
1818 * Connection works together with [[Database]] and [[Collection]] to provide data access
19- * to the Mongo database. They are wrappers of the [[MongoDB PHP extension]](http ://us1 .php.net/manual/en/book.mongo .php).
19+ * to the Mongo database. They are wrappers of the [[MongoDB PHP extension]](https ://www .php.net/manual/en/book.mongodb .php).
2020 *
2121 * To establish a DB connection, set [[dsn]] and then call [[open()]] to be true.
2222 *
@@ -134,7 +134,7 @@ class Connection extends Component
134134 * @var array options for the MongoDB driver.
135135 * Any driver-specific options not included in MongoDB connection string specification.
136136 *
137- * @see http ://php.net/manual/en/mongodb-driver-manager.construct.php
137+ * @see https ://php.net/manual/en/mongodb-driver-manager.construct.php
138138 */
139139 public $ driverOptions = [];
140140 /**
@@ -145,7 +145,7 @@ class Connection extends Component
145145 /**
146146 * @var array type map to use for BSON unserialization.
147147 * Note: default type map will be automatically merged into this field, possibly overriding user-defined values.
148- * @see http ://php.net/manual/en/mongodb-driver-cursor.settypemap.php
148+ * @see https ://php.net/manual/en/mongodb-driver-cursor.settypemap.php
149149 * @since 2.1
150150 */
151151 public $ typeMap = [];
@@ -509,7 +509,7 @@ public function startSession($sessionOptions = [])
509509 */
510510 public function startSessionOnce ($ sessionOptions = [])
511511 {
512- if ($ this ->getInSession ()) {
512+ if ($ this ->getInSession ()) {
513513 return $ this ->getSession ();
514514 }
515515 return $ this ->startSession ($ sessionOptions );
@@ -693,4 +693,4 @@ public function noTransaction(callable $actions)
693693 }
694694 return $ result ;
695695 }
696- }
696+ }
0 commit comments