Resolve doc bug #71716

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338698 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Thomas Punt 2016-03-09 13:37:57 +00:00
parent df41faa973
commit c499040447

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 336263 $ -->
<!-- $Revision$ -->
<chapter xml:id="mongodb.tutorial.library" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Using the PHP Library (PHPLIB)</title>
@ -132,7 +132,7 @@ echo "Inserted with Object ID '{$result->getInsertedId()}'";
<?php
require 'vendor/autoload.php'; // include Composer goodies
$client = new MongoDB\Driver\Client("mongodb://localhost:27017");
$client = new MongoDB\Client("mongodb://localhost:27017");
$collection = $client->demo->beers;
$result = $collection->find( [ 'name' => 'Hinterland', 'brewery' => 'BrewDog' ] );