Skip to content

Commit 177d2ce

Browse files
Update README.md
1 parent 6b20671 commit 177d2ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ as received data from database.
171171
$conn = new \Bolt\connection\Socket('127.0.0.1', 7687);
172172
// Create new Bolt instance and provide connection object.
173173
$bolt = new \Bolt\Bolt($conn);
174-
// Set requested protocol versions ..you can add up to 4 versions
174+
// If needed set requested protocol versions ..you can add up to 4 versions
175175
$bolt->setProtocolVersions(5.4);
176176
// Build and get protocol version instance which creates connection and executes handshake.
177177
$protocol = $bolt->build();
@@ -198,7 +198,7 @@ foreach ($protocol->getResponses() as $response) {
198198
}
199199
```
200200

201-
:information_source: Default settings for bolt protocol version is 4.3, 4.4 and 5.0 to 5.8. If you are within this list you can ommit calling `$bolt->setProtocolVersions(5.4);`.
201+
:information_source: Default settings for bolt protocol version is 4.3, 4.4 and 5.0 to 5.8. If you are within this list you can ommit calling `$bolt->setProtocolVersions();`.
202202

203203
### Autoload
204204

@@ -244,7 +244,7 @@ $conn->setSslContextOptions();
244244
$bolt = new \Bolt\Bolt($conn);
245245
```
246246

247-
_For more informations about what argument can be passed to `setSslContextOptions` check out [php.net](https://www.php.net/manual/en/context.ssl.php) _
247+
_For more informations about what argument can be passed to `setSslContextOptions` check out [php.net](https://www.php.net/manual/en/context.ssl.php)_
248248

249249
### Example on localhost database with self-signed certificate:
250250

0 commit comments

Comments
 (0)