Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Dec 21, 2020
1 parent 935caf4 commit 16f4584
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Faker/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ public function withMaybe(float $weight = 0.5, $default = null)
* output. If the validator fails, the generator will try again.
*
* @example $faker->withValid(fn($v) => strlen($v) > 3))->name();
*
* @return self
*/
public function withValid(callable $validator, int $maxRetries = 10000)
Expand Down

0 comments on commit 16f4584

Please sign in to comment.