1
0
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:
Francois Zaninotto 2019-09-17 15:31:31 +02:00 committed by GitHub
commit 57a80b50b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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