Skip to content

Commit 9aba378

Browse files
committed
commas
1 parent 7a0fb0f commit 9aba378

12 files changed

+15
-13
lines changed

source/includes/bson.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
'typeMap' => [
2929
'array' => 'MongoDB\Model\BSONDocument',
3030
'root' => 'MongoDB\Model\BSONDocument',
31-
'document' => 'MongoDB\Model\BSONDocument'
32-
]
31+
'document' => 'MongoDB\Model\BSONDocument',
32+
],
3333
];
3434

3535
$db->createCollection('restaurants', $options);

source/includes/connect/ca-file-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
$options = [
1111
'tls' => true,
12-
'tlsCAFile' => '/path/to/ca.pem'
12+
'tlsCAFile' => '/path/to/ca.pem' ,
1313
];
1414
1515
$client = new MongoDB\Client($uri, $options);

source/includes/connect/client-cert-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
$options = [
1111
'tls' => true,
12-
'tlsCertificateKeyFile' => '/path/to/client.pem'
12+
'tlsCertificateKeyFile' => '/path/to/client.pem',
1313
];
1414
1515
$client = new MongoDB\Client($uri, $options);

source/includes/connect/crl-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
$options = [
1111
'tls' => true,
12-
'tlsCRLFile' => '/path/to/crl.pem'
12+
'tlsCRLFile' => '/path/to/crl.pem',
1313
];
1414
1515
$client = new MongoDB\Client($uri, $options);

source/includes/connect/disable-cert-validation-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
$options = [
1111
'tls' => true,
12-
'tlsAllowInvalidCertificates' => true
12+
'tlsAllowInvalidCertificates' => true,
1313
];
1414
1515
$client = new MongoDB\Client($uri, $options);

source/includes/connect/disable-host-verification-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
$options = [
1111
'tls' => true,
12-
'tlsAllowInvalidHostnames' => true
12+
'tlsAllowInvalidHostnames' => true,
1313
];
1414
1515
$client = new MongoDB\Client($uri, $options);

source/includes/connect/insecure-tls-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
$options = [
1111
'tls' => true,
12-
'tlsInsecure' => true
12+
'tlsInsecure' => true,
1313
];
1414
1515
$client = new MongoDB\Client($uri, $options);

source/includes/connect/key-file-password.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
$options = [
1111
'tls' => true,
1212
'tlsCertificateKeyFile' => '/path/to/client.pem',
13-
'tlsCertificateKeyFilePassword' => '<passphrase>'
13+
'tlsCertificateKeyFilePassword' => '<passphrase>',
1414
];
1515
1616
$client = new MongoDB\Client($uri, $options);

source/includes/connect/ocsp-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
$options = [
1111
'tls' => true,
12-
'tlsDisableOCSPEndpointCheck' => true
12+
'tlsDisableOCSPEndpointCheck' => true,
1313
];
1414
1515
$client = new MongoDB\Client($uri, $options);

source/includes/extended-json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
'foo' => [1, 2],
88
'bar' => ['hello' => 'world'],
99
'code' => new MongoDB\BSON\Javascript('function x() { return 1; }', []),
10-
'date' => new DateTime('2024-07-20 10:30:00')
10+
'date' => new DateTime('2024-07-20 10:30:00'),
1111
];
1212

1313
echo 'Relaxed format: ' , MongoDB\BSON\Document::fromPHP($doc)->toRelaxedExtendedJSON(), PHP_EOL;

0 commit comments

Comments
 (0)