1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-04-21 16:01:56 +02:00

Merge pull request #1673 from aubryfr/patch-1

Updated readme.md: added a missing backslash
This commit is contained in:
Francois Zaninotto 2019-03-29 18:31:05 +01:00 committed by GitHub
commit 62fd539226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -412,7 +412,7 @@ Here is an example showing how to populate 5 `Author` and 10 `Book` objects:
```php
<?php
$generator = \Faker\Factory::create();
$populator = new Faker\ORM\Propel\Populator($generator);
$populator = new \Faker\ORM\Propel\Populator($generator);
$populator->addEntity('Author', 5);
$populator->addEntity('Book', 10);
$insertedPKs = $populator->execute();