Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

Commit e8a9572

Browse files
committed
update docs example
1 parent 2fd4670 commit e8a9572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ try {
374374
If you would like to use a modifier with a value not generated by Faker, use the `passthrough()` method. `passthrough()` simply returns whatever value it was given.
375375

376376
```php
377-
$faker->optional()->passthrough('my custom value');
377+
$faker->optional()->passthrough(mt_rand(5, 15));
378378
```
379379

380380
## Localization

0 commit comments

Comments
 (0)