mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-04-21 16:01:56 +02:00
Merge pull request #1514 from shawnlindstrom/document_random_digit_not
Document randomDigitNot base formatter.
This commit is contained in:
commit
57a80b50b2
@ -118,6 +118,7 @@ Each of the generator properties (like `name`, `address`, and `lorem`) are calle
|
||||
### `Faker\Provider\Base`
|
||||
|
||||
randomDigit // 7
|
||||
randomDigitNot(5) // 0, 1, 2, 3, 4, 6, 7, 8, or 9
|
||||
randomDigitNotNull // 5
|
||||
randomNumber($nbDigits = NULL, $strict = false) // 79907610
|
||||
randomFloat($nbMaxDecimals = NULL, $min = 0, $max = NULL) // 48.8932
|
||||
|
@ -136,6 +136,7 @@ namespace Faker;
|
||||
* @method boolean boolean($chanceOfGettingTrue = 50)
|
||||
*
|
||||
* @property int $randomDigit
|
||||
* @property int $randomDigitNot
|
||||
* @property int $randomDigitNotNull
|
||||
* @property string $randomLetter
|
||||
* @property string $randomAscii
|
||||
|
Loading…
x
Reference in New Issue
Block a user