mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fixed error in example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338661 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
47b50ee7a8
commit
f153fb9e94
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ require 'vendor/autoload.php';
|
|||
<?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->insertOne( [ 'name' => 'Hinterland', 'brewery' => 'BrewDog' ] );
|
||||
|
|
Loading…
Reference in a new issue