diff --git a/src/Faker/Generator.php b/src/Faker/Generator.php index bf9bf4c2f6..f88bbd97ca 100644 --- a/src/Faker/Generator.php +++ b/src/Faker/Generator.php @@ -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)