Skip to content

Commit

Permalink
Fix random element doc (FakerPHP#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnastalski authored Jun 22, 2022
1 parent bc34d63 commit 33e6325
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 @@ -106,7 +106,7 @@ echo $faker->randomElements(['a', 'b', 'c', 'd', 'e'], 3);

## `randomElement`

Returns `$count` amount of random element from the given array. By default, the `$count` parameter is set to 1.
Returns a random element from the given array.

```php
echo $faker->randomElement(['a', 'b', 'c', 'd', 'e']);
Expand Down

0 comments on commit 33e6325

Please sign in to comment.