Skip to content

Commit

Permalink
Update numbers-and-strings.md
Browse files Browse the repository at this point in the history
replacing '#' characters with digits between 0 and 10 would create a string one character longer than desired 9% of the time.  This is a correction for the docs, hopefully numerify() doesn't actually do what the docs describe in this case.
  • Loading branch information
clouder committed Apr 22, 2023
1 parent 18d4a3c commit 3823ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/formatters/numbers-and-strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ echo $faker->shuffle([1, 2, 3]);

## `numerify`

Generate a string where all `#` characters are replaced by digits between 0 and 10. By default, `###` is used as input.
Generate a string where all `#` characters are replaced by digits between 0 and 9. By default, `###` is used as input.

```php
echo $faker->numerify();
Expand Down

0 comments on commit 3823ff1

Please sign in to comment.