Skip to content

Commit 480d30e

Browse files
author
Bizley
authored
Merge pull request yiisoft#365 from Arhell/src
update src folder links
2 parents 614d64e + 9f01dd1 commit 480d30e

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/Connection.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
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+
}

src/Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function openSession($savePath, $sessionName)
101101

102102
/**
103103
* Updates the current session ID with a newly generated one.
104-
* Please refer to <http://php.net/session_regenerate_id> for more details.
104+
* Please refer to <https://php.net/session_regenerate_id> for more details.
105105
* @param bool $deleteOldSession Whether to delete the old associated session file or not.
106106
*/
107107
public function regenerateID($deleteOldSession = false)
@@ -173,7 +173,7 @@ public function writeSession($id, $data)
173173
}
174174

175175
// exception must be caught in session write handler
176-
// http://us.php.net/manual/en/function.session-set-save-handler.php
176+
// https://www.php.net/manual/en/function.session-set-save-handler.php
177177
try {
178178

179179
// ensure backwards compatability, related to:

src/file/StreamWrapper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* $fileContent = stream_get_contents($resource);
4646
* ```
4747
*
48-
* @see http://php.net/manual/en/function.stream-wrapper-register.php
48+
* @see https://php.net/manual/en/function.stream-wrapper-register.php
4949
*
5050
* @property-read array $contextOptions Context options.
5151
*
@@ -362,7 +362,7 @@ public function stream_stat()
362362

363363
return $statistics;
364364
}
365-
365+
366366
/**
367367
* Seeks to specific location in a stream.
368368
* This method is called in response to `fseek()`.
@@ -401,7 +401,7 @@ public function stream_seek($offset, $whence = SEEK_SET)
401401
}
402402
return false;
403403
}
404-
404+
405405
/**
406406
* Retrieve the current position of a stream.
407407
* This method is called in response to `fseek()` to determine the current position.
@@ -412,4 +412,4 @@ public function stream_tell()
412412
{
413413
return $this->_pointerOffset;
414414
}
415-
}
415+
}

0 commit comments

Comments
 (0)