Skip to content

Commit 080dcb2

Browse files
committed
Fixed unintialized variable
1 parent 34dc5a9 commit 080dcb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples/insert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
->add($hayley);
99

1010
$w = 'majority';
11-
$w = 500;
11+
$wtimeout = 500;
1212

1313
$writeConcern = new \MongoDB\WriteConcern($w, $wtimeout);
1414

0 commit comments

Comments
 (0)